Skip to main content

parse_order_status_report_sbe

Function parse_order_status_report_sbe 

Source
pub fn parse_order_status_report_sbe(
    order: &BinanceOrderResponse,
    account_id: AccountId,
    instrument: &InstrumentAny,
    broker_id: &str,
    ts_init: UnixNanos,
) -> Result<OrderStatusReport>
Expand description

Parses a Binance SBE order response into a Nautilus OrderStatusReport.

ยงErrors

Returns an error if any field cannot be parsed.