Why the yearly limitation?

Historical data in daily resolution is limited to a year.

{‘s’: ‘error’, ‘code’: -339, ‘message’: ‘The range cannot be more than 1 year for day resolution’}

What was the reason for imposing such limitations.

If data is available since 1998 does it not make 25 api calls for a single company. Does it not increase Fyers server load?

Wouldn’t it be better to allow a single call to download historical data for any arbitrary date range?

Hi Hamza,

The load on the database will be more if more data is retrieved at once. But the load on database is less if we retrieve less data at a time. That is why this type of pagination was necessary.

@vikram_sri If you are using stored procedures then the impact/load on server by selecting a wider range of data from a table (company) in a **single **database call will actually be ***lower ***than having to call that same stored procedure 25 times with paginated values.

Just visualize

1 call vs 25 calls

for the same set of data.

Hey Hamza, thanks for the feedback, We will look into this.