☰
Login
Signup
Home
›
.Net API client
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
14.9K
All Categories
0
Incidents
177
Node JS client
51
Go client
840
.Net API client
397
Kite Publisher
554
.Net / VBA / Excel (3rd party)
490
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
409
PHP client
4.3K
Python client
357
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
General
In this Discussion
April 2025
Sravanthi_bh
April 2025
SudhakarC
April 2025
sujith
How to get history of F & O
SudhakarC
March 2025
in
.Net API client
For example,
I need to get the details of 'BANKNIFTY 51000' for last 1 year. Like this need to get the values for all segments.
Tagged:
F&O
#history
sujith
March 2025
Kite Connect only offers day candle data for expired futures instruments.
SudhakarC
April 2025
May i know how can i get day candle for expired future instruments in c#.
sujith
April 2025
Yes, you can get day candle data for expired futures instruments. You may refer to the documentation
here
.
Sravanthi_bh
April 2025
You may refer this in kite
API doc
. Also, click
here
for C# github link.
SudhakarC
April 2025
To get historical data, i need to pass 'instrument_token'. May i know where i can get the 'instrument_token' for expired futures instruments ?
Sravanthi_bh
April 2025
To fetch
continuous data
, you need to use live contracts instrument token, Check out instrument master file
here
.
SudhakarC
April 2025
I am using the below method to get the candles for expired futures instrument. Please find the details below. But result is empty.
GetHistoricalData("9142530", new DateTime(2024,01,01), DateTime.Now, Interval: "day", true);
Trading Symbol : BANKNIFTY2460549000CE
instrument_token : 9142530
expiry : 05-06-2024
Sravanthi_bh
April 2025
edited April 2025
You need to try fetching data using the live contract instrument token for only futures. Please read this support article to understand about
Continuous Data
.
SudhakarC
April 2025
I can't find 'Continuous data' option. May i know how can i enable this 'Continuous data' option ?
img1.PNG
91.3K
Sravanthi_bh
April 2025
Continuous charts cannot be constructed for options, it is available for future contract.
SudhakarC
April 2025
I got it
This discussion has been closed.
GetHistoricalData("9142530", new DateTime(2024,01,01), DateTime.Now, Interval: "day", true);
Trading Symbol : BANKNIFTY2460549000CE
instrument_token : 9142530
expiry : 05-06-2024