pub fn parse_mark_price_msg(
msg: &CoinbaseIntxWsRiskMsg,
instrument_id: InstrumentId,
price_precision: u8,
ts_init: UnixNanos,
) -> Result<MarkPriceUpdate>
Expand description
Parses a mark price message into MarkPriceUpdate
.
§Errors
Returns an error if the price value cannot be parsed.