hi Team,
I am trying to call history api for the first time today but still get the rate limit exceeded notification.
import datetime as dt
symbol = 'NSE:NIFTYBANK-INDEX'
start_date = (dt.date.today() + dt.timedelta(-5)).strftime('%Y-%m-%d')
end_date = dt.date.today().strftime('%Y-%m-%d')
resolution = '1'
data = {
"symbol": symbol,
"resolution": resolution,
"date_format": "1",
"range_from": start_date,
"range_to": end_date,
"cont_flag": "1"
}
response = fyers.history(data=data)
{'code': 429, 'message': 'request limit reached', 's': 'error'}
what is the cause of this error? How to resolve it?