How to get Index Price

ssbirute
How to retrieve Nifty 50 / Banknifty / Nifty IT spot price. Please help any code or api call
  • RED
    To get only ltp
    a = kite.ltp(['NSE:NIFTY 50'])

    To get the total details of the stock at that moment
    a = kite.quote('NSE:NIFTY 50')


    If you want to subscribe through websocket add the instrument tokens:
    Nifty : 256265
    Banknifty : 260105
  • ssbirute
    Thanks @RED ...it works !!!
This discussion has been closed.