Available families
| Bar type | Closes when |
|---|---|
| Dollar | Cumulative price × quantity reaches a quote-value threshold |
| Volume | Cumulative base-asset quantity reaches a volume threshold |
| Tick | A configured number of Binance aggTrade records has arrived |
| Imbalance | Absolute cumulative signed tick direction reaches an adaptive threshold |
Current scope
Why continuity matters
Restarting a bar at midnight or at every ZIP boundary changes the dataset. Meridian carries pending trades, cumulative thresholds, sequence numbers, and imbalance state forward so the historical and live series remain one continuous computation.Query sequence
- Call
custom_bars_catalogto discover available types, thresholds, and ranges. - Select an exact
thresholdorthreshold_key. - Call
custom_barswith an explicit exchange, product, start, end, and limit. - Retain coverage and provenance with the rows.
Binance aggTrades consolidate executions under Binance’s aggregation rules. A Meridian tick bar counts aggTrade records, not an independently reconstructed count of every underlying matching-engine fill.