Skip to main content

create_instrument_from_def

Function create_instrument_from_def 

Source
pub fn create_instrument_from_def(
    def: &PolymarketInstrumentDef,
    ts_init: UnixNanos,
) -> Result<InstrumentAny>
Expand description

Converts a Polymarket instrument definition into a Nautilus InstrumentAny.