parse_fill_report

Function parse_fill_report 

Source
pub fn parse_fill_report(
    coinbase_fill: CoinbaseIntxFill,
    account_id: AccountId,
    price_precision: u8,
    size_precision: u8,
    ts_init: UnixNanos,
) -> Result<FillReport>
Expand description

Parses a fill report from raw Coinbase REST data.

ยงErrors

Returns an error if any required field cannot be parsed.