☰
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.2K
All Categories
0
Incidents
160
Node JS client
45
Go client
806
.Net API client
386
Kite Publisher
538
.Net / VBA / Excel (3rd party)
466
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
351
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
April 22
Sravanthi_bh
April 22
SudhakarC
April 21
sujith
How to get history of F & O
SudhakarC
March 26
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 26
Kite Connect only offers day candle data for expired futures instruments.
SudhakarC
April 21
May i know how can i get day candle for expired future instruments in c#.
sujith
April 21
Yes, you can get day candle data for expired futures instruments. You may refer to the documentation
here
.
Sravanthi_bh
April 21
You may refer this in kite
API doc
. Also, click
here
for C# github link.
SudhakarC
April 22
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 22
To fetch
continuous data
, you need to use live contracts instrument token, Check out instrument master file
here
.
SudhakarC
April 22
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 22
edited April 22
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 22
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 22
Continuous charts cannot be constructed for options, it is available for future contract.
SudhakarC
April 22
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