pub fn parse_ws_twap_history_row(
row: &WsTwapHistoryData,
user: &str,
is_snapshot: bool,
instrument: Option<&InstrumentAny>,
ts_init: UnixNanos,
) -> Result<HyperliquidTwapHistory>Expand description
Parses one userTwapHistory row into custom data.
Unknown coins leave instrument_id unset and do not fail the parse.