It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
last 3 days FUTURE LTP of NIFTY
Hi Sujith - I'm new to Kiteconnect and want quick guidance on how to retrieve LTP and OHLC data for future instruments like - NIFTY20OCTFUT or BANKNIFTY20OCTFUT
For python client, you can refer to
Hi Rakesh - not able to get any API for future only. like the query print(kite.ohlc('NSE:NIFTY20OCTFUT')) not giving me any data.
NSE futures and options will have NFO as the exchange in the Kite Connect universe.
NSE currency will be CDS and for commodity, MCX is the exchange
, so now my pprint(kite.quote("NFO:NIFTY20OCTFUT")) statement works well... can i get last few days (5 days) similar data using API for FUTURE contract
You will need to use historical data API.
The Quote API just gives you snapshot of data at the moment of request.
thanks again, but from historical data API im not getting LTP
plz refer code - pprint(kite.historical_data(13014274, date(2020,10,9), date(2020,10,12), "day"))
If you need only LTP then you will have to try it out during market hours only or try Quote API with MCX instruments.
ok thanks again.
This discussion has been closed.