Skip to main content

parse_new_order_response_sbe

Function parse_new_order_response_sbe 

Source
pub fn parse_new_order_response_sbe(
    response: &BinanceNewOrderResponse,
    account_id: AccountId,
    instrument: &InstrumentAny,
    broker_id: &str,
    ts_init: UnixNanos,
) -> Result<OrderStatusReport>
Expand description

Parses a Binance new order response (SBE) into a Nautilus OrderStatusReport.

ยงErrors

Returns an error if any field cannot be parsed.