Skip to main content

parse_futures_order_event_status_report

Function parse_futures_order_event_status_report 

Source
pub fn parse_futures_order_event_status_report(
    event: &FuturesOrderEvent,
    event_type: Option<KrakenFuturesOrderEventType>,
    instrument: &InstrumentAny,
    account_id: AccountId,
    ts_init: UnixNanos,
) -> Result<OrderStatusReport>
Expand description

Parses a Kraken futures order event (historical order) into a Nautilus OrderStatusReport.

ยงErrors

Returns an error if order ID, quantities, or prices cannot be parsed.