Skip to main content

parse_current_order_report

Function parse_current_order_report 

Source
pub fn parse_current_order_report(
    order: &CurrentOrderSummary,
    account_id: AccountId,
    ts_init: UnixNanos,
) -> Result<OrderStatusReport>
Expand description

Parses a Betfair CurrentOrderSummary into a Nautilus [OrderStatusReport].

ยงErrors

Returns an error if the placed date cannot be parsed.