data = {
"symbol": 'NSE:ACC-EQ',
"resolution": "15",
"date_format": "1",
"range_from": "2023-03-12",
"range_to": "2023-06-10",
"cont_flag": "1"
}
response: {'candles': [], 'code': 200, 'message': '', 'nextTime': 0, 's': 'no_data'}
I am getting the output for same input , Please try again
Hope it will help
Thank you
I am also getting the same error. No data. response is NoneType
Tried again Pankaj but it is not working
Hi @diwakarpant16-0vx and @granddervish
Which API version you guys are using?
Historical data is not working
GET https://api.fyers.in/data-rest/v2/history/?symbol=NSE:PNB-EQ&resolution=1&date_format=1&range_from=2023-09-09&range_to=2023-09-12&cont_flag= HTTP/1.1
Host: api.fyers.in
fyers-apiv2==2.0.6
@Z4PBvkQGyFI am using the above version of the python SDK from fyres
One thing I want to point out. I printed the header in your library and it returned
curl -H “Authorization: api_id:access_token”
curl -H “Authorization: aaa-None:bbb”
instead of curl -H “Authorization: aaa-100:bbb”
Hi @granddervish @yrLPPtgUSc @diwakarpant16-0vx @abhijith.e.m.u64cddfd
This issue has been fixed for APIv2. You can check now.
Please note : Kindly migrate to APIv3 ASAP
Please tell how to migrate?
If using Python SDK, download v3 library to your system -
pip install fyers-apiv3
You may also need to make slight changes to your codebase, if required at places
Refer changelog - https://myapi.fyers.in/docsv3#tag/Change-Log
v3 docs - https://myapi.fyers.in/docsv3

