pub fn parse_ws_candle( candle: &WsCandle, bar_type: BarType, instrument: &InstrumentAny, ts_init: UnixNanos, ) -> Result<Bar>
Parses a WebSocket candle into a [Bar].
Bar