'interval exceeds limit: 35 days' when fetching historical data using node js.

kreakemp edited July 11 in API clients
I am using following info :

But now I am getting this error :
{ status: 'error',
message: 'interval exceeds limit: 35 days',
data: null,
error_type: 'InputException' }

What is the message mean here?
  • Imran
    for historical API there is a limit of the length of data we can ask for.
    for 1 minute we can ask for 1-month data
    for 1 year, 1-minute candlestick data I use this logic.

    ask data for jan2018 - feb2018 and store in some format
    ask data for feb2018 - march 2018 and add data in that format
    ask data for March 2018 - April 2018 add data in that format...
  • sujith
    You can follow up here.
This discussion has been closed.