pub fn fetch_klines(
symbol: &str,
interval: &str,
limit: u32,
) -> Result<Vec<Candle>>Available on crate feature
binance only.Expand description
Fetch historical candles from the Binance REST API
(GET /api/v3/klines). interval is a Binance interval such as 1m, 1h
or 1d; limit is the number of bars (Binance caps this at 1000). Requires
the binance feature.