The CU (compute unit) cost is calculated dynamically based on three request parameters:
- Resolution – the requested candle interval.
- Depth – the number of candles requested (
limit). - Lookback – the historical time range implied by the request.
1. Resolution Base CU
2. Depth Multiplier
3. Lookback Multiplier
ℹ️ Examples
Example 1 — Realtime (no lookback multiplier)
Request:- Resolution: 1m
- Limit: 500
- Lookback: 500 minutes (~0.35 day)
Example 2 — Standard historical lookback
Request:- Resolution: 1H
- Limit: 240
- Lookback: 240 hours (10 days)
Example 3 — Deep historical archive
Request:- Resolution: 1D
- Limit: 365
- Lookback: 365 days
Example 4 — Large intraday historical query
Request:- Resolution: 15m
- Limit: 500
- Lookback: 7,500 minutes (~5.2 days)

