pub async fn load_bar_aligned_multi(
hub: &Arc<ExchangeHub>,
exchange: ExchangeId,
account: AccountType,
symbol: &str,
kind: &Kind,
interval: &KlineInterval,
start_ms: i64,
end_ms: i64,
) -> Result<MultiScalarSeries>Expand description
Multi-scalar bar-aligned historical series. Returns a MultiScalarSeries
where each bar carries multiple named lanes from the enriched wire struct.
Supported kinds and their lanes:
| Kind | Lanes | Fill |
|---|---|---|
| FundingRate | rate, interest_8h, index_price, premium, realized_rate, estimated_rate, accrued_funding, funding_step, funding_interval_hours | ForwardFill |
| MarkPrice | mark, index, estimated_settle, funding_rate, interest_rate, indicative_index, deriv_price | ForwardFill |
| OpenInterest | open_interest, open_interest_value, oi_ccy, oi_usd, sum_oi | ForwardFill |
| LongShortRatio | ratio, long_pct, short_pct | ForwardFill |
| Basis | basis, futures_price, index_price | ForwardFill |
| Ticker | last_price, bid, ask, bid_qty, ask_qty, volume, quote_volume, high_24h, low_24h, open_24h, weighted_avg, last_qty, count | ForwardFill |
| IndexPrice | price, high_24h, low_24h, open_24h | ForwardFill |
| Liquidation | total_value, count, long_value, short_value | ZeroFlow |
symbol must be exchange-native. interval is the bar grid width.