Candles and volume from real trades
qmax_get_candlesOpen, high, low, close, QU volume, units and trade count per candle, built from every trade QX and QSwap logged (a minute wide at the finest; about six months back, which is all the Qubic archive has: its trade records begin in April 2026). A candle exists only where something traded, so a gap means no trades. The response also gives the last 24 hours of volume across both markets.
Returns: { asset, range, interval, venue, candles: [{ t (ms), o, h, l, c, volumeQu, volumeQty, trades }], truncated?, available?, volume24hQu, trades24h }. Prices are QU per unit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset symbol, for example CFB or QDOGE (case does not matter). Use qmax_list_assets to find one. | |
| range | No | How far back to look. 'all' is everything QMax has (about six months). | 7d |
| venue | No | Which market's prices: QX (order book), QSwap (pool), 'all' (treat both as one market), or 'auto' (the market the live price comes from). | auto |
| interval | No | Candle width: a minute up to a day (default suits the range). One answer holds at most the latest 5,000 candles |