decode_klines

Function decode_klines 

Source
pub fn decode_klines(buf: &[u8]) -> Result<BinanceKlines, SbeDecodeError>
Expand description

Decode a klines (candlestick) response.

Returns the list of klines with their price and quantity exponents.

ยงErrors

Returns error if buffer is too short, schema mismatch, or group size exceeded.