Can I fetch 1-minute OHLCV (Open, High, Low, Close, Volume) data for 2000 symbols in a single request, or do I need to make 2000 separate requests to retrieve the data for all 2000 symbols?
Hello,
It is not possible to fetch 1-minute OHLCV data for 2000 symbols in a single request. Most APIs do not support such a large number of symbols in one request due to the volume of data involved. Additionally, there is a rate limit of 2000 requests per 30 minutes, which means you would need to distribute your requests accordingly to avoid hitting the limit.
You will likely need to make 2000 separate requests to retrieve the 1-minute OHLCV data for all 2000 symbols, ensuring that you stay within the rate limit by pacing the requests appropriately. Consider batching your requests and using retries or caching mechanisms to optimize the process.
Thanks & Regards,
Sanjay Jain
the problem is also this as to how you will export such a huge data, atleast when i fetched for 53 intruments it counted more than 600000 rows of data
You can store in Memory Database or SQL.
how much data data we can gether in single request
Hello,
Historical data is available for the following time durations:
- 1-minute: Retrieve the candles from the final month leading up to the endDate.
- 30-minute: Retrieve the candles from the past year up to the endDate.
- Daily: Retrieve data for the past year, concluding on the endDate.
- Weekly: Retrieve data from the previous ten years, ending on the endDate.
- Monthly: Retrieve data spanning the last ten years, up to the specified endDate.
Thanks & Regards,
Sanjay Jain