Skip to main content

decode_binance_bar_batch

Function decode_binance_bar_batch 

Source
pub fn decode_binance_bar_batch(
    metadata: &HashMap<String, String>,
    record_batch: &RecordBatch,
) -> Result<Vec<BinanceBar>, EncodingError>
Expand description

Decodes a RecordBatch into a vector of BinanceBar.

ยงErrors

Returns an EncodingError if decoding fails.