Skip to main content

parse_tokenized_instrument

Function parse_tokenized_instrument 

Source
pub fn parse_tokenized_instrument(
    pair_name: &str,
    definition: &AssetPairInfo,
    ts_event: UnixNanos,
    ts_init: UnixNanos,
) -> Result<InstrumentAny>
Expand description

Parses a Kraken tokenized asset pair into a Nautilus tokenized asset instrument.

Tokenized assets (xStocks) use the same API schema as spot pairs but represent real-world equities, ETFs, or other tokenized securities.

ยงErrors

Returns an error if tick size, order minimum, or fee fields cannot be parsed.