It looks like you're new here. If you want to get involved, click one of these buttons!
a = kite.ltp(['NSE:NIFTY 50'])
a = kite.quote('NSE:NIFTY 50')
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