I am facing issue in getting historical data from FYERS API of historical Options :
This is the Entry I am doing
data = {
"symbol":"NSE:NIFTY23JUN18000CE",
"resolution":"1",
"date_format":"1",
"range_from":"2023-06-24",
"range_to":"2023-06-24",
"cont_flag":"1"
}
And the Response I have got is :
The value of data is equals to {'symbol': 'NSE:NIFTY23JUN18000CE', 'resolution': '1', 'date_format': '1', 'range_from': '2023-06-24', 'range_to': '2023-06-24', 'cont_flag': '1'}
{'s': 'error', 'code': -300, 'message': 'Please provide a valid symbol'}
Please help to fix this