I’m unable to access historical data from api v3
Error Response
{'code': -403, 'message': 'You do not have permission to access this application', 's': 'error'}
Here is code which i used
data = {
"symbol":'NSE:SBIN-EQ',
"resolution":"1D",
"date_format":"1",
"range_from": "2023-08-01",
"range_to": "2023-11-11",
"cont_flag":"1"
}
response = fyers.history(data=data)
Z4PBvkQGyF
(Inactive Member)
November 12, 2023, 12:54pm
2
Hi
Can you confrim you pass correct access token as I checked it is working fine.
i checked other things works like quotes , websocket but issue comes from history only
Z4PBvkQGyF
(Inactive Member)
November 12, 2023, 1:03pm
4
Hi while creating the app do you give the premission to the app for history data
I’m getting the same for both v2 and v3. Any updates on this?
creating a new app with all permissions worked
Z4PBvkQGyF
(Inactive Member)
January 5, 2024, 6:06am
9
ok good to know it is working for you
Data is from 2018 Feb. Is there a way to get data before that?
Z4PBvkQGyF
(Inactive Member)
January 5, 2024, 6:19am
11
No there is no way to before that
you can i got 2017 data from api. 1 min data
but now it will be impossible because it remove month by month data so 2017 jan then next time it will from fab so on . i got data from august so you can make calc for 1 min data
issue was i need to give it Trading Permissions and it work right away.