Skip to main content
custom_bars returns market-data bars generated from stored Binance Futures BTCUSDT individual aggTrades. Call custom_bars_catalog first when the application does not already know the stored threshold and date range. Current production tick-bar examples use threshold 1000; older test-only thresholds should not be assumed to exist.

Arguments

Example arguments

Exact no-results behavior

A valid exact query can complete with zero rows:
This is a complete answer for the requested filters. Do not automatically remove the threshold, widen the date range, or fetch alternatives unless the user asks.
Custom bars are market-data observations, not BUY, SELL, ENTER, or execution instructions.