Skip to main content

parse_gamma_market

Function parse_gamma_market 

Source
pub fn parse_gamma_market(
    market: &GammaMarket,
) -> Result<Vec<PolymarketInstrumentDef>>
Expand description

Parses a Gamma market response into instrument definitions.

Each market produces two definitions: one for the Yes outcome and one for the No outcome.