Skip to main content

Module parse

Module parse 

Source
Expand description

Instrument parsing for Polymarket markets.

Structs§

PolymarketInstrumentDef
Normalized instrument definition for a single Polymarket outcome token.

Functions§

create_instrument_from_def
Converts a Polymarket instrument definition into a Nautilus InstrumentAny.
instruments_from_defs
Converts a collection of definitions into Nautilus instruments.
parse_gamma_market
Parses a Gamma market response into instrument definitions.
rebuild_instrument_with_tick_size
Rebuilds an instrument with a new tick size (price precision + price increment).