Retrieving More Than 1,000 Binance Futures Candles via the API
Summary
The document compares two ways to retrieve Binance perpetual futures candles. Using the platform’s standard record retrieval after setting a maximum bar length of 1,500 returns only 1,000 records in the described example. A direct exchange API request for continuous futures klines, with a requested limit of 1,500, returns that many records in the example.
This suggests the platform wrapper may cap retrieval at 1,000 even when its maximum bar setting is higher, while a direct API call can bypass that limit for this endpoint. The note ends by asking whether the setting itself is capped, so it does not establish the cause or whether behavior differs across APIs, instruments, or platform versions. Users should verify endpoint limits and responses for their own setup.
Key ideas
- The platform record method returns 1,000 candles despite a configured maximum of 1,500 in the example.
- A direct continuous futures klines request returns 1,500 candles in the example.
- The document raises but does not resolve whether the platform setting has a 1,000 candle cap.
- Results may depend on the endpoint and platform implementation.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.