Skip to main content

parse_futures_order_status_report

Function parse_futures_order_status_report 

Source
pub fn parse_futures_order_status_report(
    order: &FuturesOpenOrder,
    instrument: &InstrumentAny,
    account_id: AccountId,
    ts_init: UnixNanos,
) -> Result<OrderStatusReport>
Expand description

Parses a Kraken futures open order into a Nautilus OrderStatusReport.

ยงErrors

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