☰
Login
Signup
Home
›
Market data (WebSockets)
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
August 2022
sahilajmeri1
August 2022
SRIJAN
Underlying Price
sahilajmeri1
August 2022
in
Market data (WebSockets)
Does kite connect api provide 'underlying price' or we need to calculate from our end?
SRIJAN
August 2022
Read about underlying price here:
https://zerodha.com/varsity/chapter/basic-option-jargons/
sahilajmeri1
August 2022
Hi Srijan
I have gone through the kite api docs, can we find the nifty 50 value as shown in below image
image.png
14.5K
SRIJAN
August 2022
edited August 2022
I guess you didn't,
https://kite.trade/docs/connect/v3/market-quotes/#retrieving-ltp-quotes
sahilajmeri1
August 2022
Hey Coders,
If anyone have exact same query like me.
Then this is the solution,
for python : -
print(kite.ltp('NSE:NIFTY BANK'))
print(kite.ltp('NSE:NIFTY 50'))
output : -
{'NSE:NIFTY BANK': {'instrument_token': 260105, 'last_price': 38985.95}}
This discussion has been closed.
https://zerodha.com/varsity/chapter/basic-option-jargons/
I have gone through the kite api docs, can we find the nifty 50 value as shown in below image
https://kite.trade/docs/connect/v3/market-quotes/#retrieving-ltp-quotes
If anyone have exact same query like me.
Then this is the solution,
for python : -
print(kite.ltp('NSE:NIFTY BANK'))
print(kite.ltp('NSE:NIFTY 50'))
output : -
{'NSE:NIFTY BANK': {'instrument_token': 260105, 'last_price': 38985.95}}