Is there any connect API to get trading symbol of weekly option contracts?
Say for ex: 17 Dec weekly expiry 13600 CE strike has trading symbol: NIFTY20D1713600CE
How do I get this trading symbol?
Or do I have to calculate it by writing my own logic for option contracts naming convention for trading symbols?
I know that I can get list of all NFO instruments using below code, but the list is too big and pulling exact weekly trading symbol on the basis of my own logic can be error prone since weekly contracts have a weird nomenclature for trading symbol.