Not able to find right tickersymbol for midcap nifty

kakya
kakya edited October 10 in Python client
Im trying to generate tickersymbol for NFOs based on the index ltps. im able get those generated for NIFTY BANKNIFTY FINNIFTY.

but for MIDCPNIFTY im not able to get right index ticker to generate the NFO symbol

the current ltps for MIDCP symbols are

```
>>> z.ltp('NIFTY MIDCAP 50', exchange='NSE')
16517.15
>>>
>>> z.ltp('NIFTY MIDCAP 100', exchange='NSE')
59054.2
>>> z.ltp('NIFTY MIDCAP 150', exchange='NSE')
21917.95
>>>
```

but ATM value for MIDCP is around 12k (option chain), which is the one I need to build the NFO tickersymbol
Im able to view that exact ltp on chart index of MIDCP (https://kite.zerodha.com/chart/ext/tvc/INDICES/MIDCPNIFTY/288009?theme=dark)
But im not able find the exact tickersymbol for above chart.

Can you help me finding the tickersymbol for right MIDCAP nifty, so that i can use kite api to get the ltp.

  • sujith
    You should never generate symbol at your end. It may go wrong in production. One should always find the tradingsymbol from the instruments master which has all the symbols that are traded for the day.
  • kakya
    Yes I tried getting values from instrument (NFO) as well (not much optimal takes time and more api calls).
    But how you will match the ATM prize of any index from instrument list ?

    You need to have ATM value right ?
  • sujith
    You need to look for NIFTY MID SELECT, this is the index for MIDCPNIFTY instruments.
  • kakya
    Awesome! Thank you, you can close the issue
This discussion has been closed.