{‘message’: ‘’, ‘code’: 200, ‘d’: [{‘n’: ‘NSE:NIFTY2542424100CE’, ‘v’: {‘n’: ‘NSE:NIFTY2542424100CE’, ‘errmsg’: ‘Please provide a valid symbol’, ‘code’: -300, ‘s’: ‘error’}, ‘s’: ‘ok’}], ‘s’: ‘ok’}
Am I missing something in the symbol?
{‘message’: ‘’, ‘code’: 200, ‘d’: [{‘n’: ‘NSE:NIFTY2542424100CE’, ‘v’: {‘n’: ‘NSE:NIFTY2542424100CE’, ‘errmsg’: ‘Please provide a valid symbol’, ‘code’: -300, ‘s’: ‘error’}, ‘s’: ‘ok’}], ‘s’: ‘ok’}
Am I missing something in the symbol?
Hey @106229685256604491411 ,
The inputs given from your end for the symbol is incorrect , as you are trying to trade in the monthly contract of Nifty , the right symbol name will be - NSE:NIFTY25APR24100CE .
https://myapi.fyers.in/docsv3#tag/Appendix/Instrument-Types
@WWhYB2qrsx , only the current week expiry is not getting fetched, next week is not having problem
or may be last week of month is quoted like above otherwise we follow NIFTYYYMDD24100CE
right?