yata
yata copied to clipboard
feat: add rkyv derive for Candle
Added rkyv derive for Candle behind feature gate, allowing the struct to be serialized / deserialized / stored using rkyv.
Using rkyv significantly improved candles load performance for files, which is useful when doing backtesting. I am able to load 232k candles in 2 seconds using rkyv, compared to 28 seconds with serde-json.
Also, minor fix on donchian_channel documentation.