Getting ltp for a given option contract

satheesh7134
Hi Everyone

I am trying to retrieve the LTP for BANKNIFTY option contract as shown below


spot = self.kite.ltp('NFO:BANKNIFTY JUL 36000 CE')
print (spot)


But not getting any output. Please advise
  • satheesh7134
    Found the right way

    spot = self.kite.ltp('NFO:BANKNIFTY22JUL36000CE')
    print (spot)

    Had to get the instrument correctly from NFO
This discussion has been closed.