☰
Login
Signup
Home
›
General
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
996
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
May 2022
deepakeight
May 2022
SRIJAN
CRUDE OIL FUT Historical - 5 min
deepakeight
May 2022
in
General
Hi
Can I know how far back can I get the historical data for 5 min candle for CRUDE OIL FUT?
Also do I need to know the monthly contract code for each month to pull this data? If yes, is there a way to find out the contract codes?
Tagged:
crude oil
crude
mcx crude oil
5 min
SRIJAN
May 2022
edited May 2022
You can get historical data for any contract from the time the contract was launched.
CRUDE OIL Futures have an expiry date 6 months after launch. So,for current month contract,you can get data upto 6 months .
Yes,you will need instrument token of the contract for which you want to fetch historical data.
You can get list of all the instruments available for trading from the instruments API.
https://kite.trade/docs/connect/v3/market-quotes/#instruments
deepakeight
May 2022
Thank you very much for the quick response.
This discussion has been closed.
CRUDE OIL Futures have an expiry date 6 months after launch. So,for current month contract,you can get data upto 6 months .
Yes,you will need instrument token of the contract for which you want to fetch historical data.
You can get list of all the instruments available for trading from the instruments API.
https://kite.trade/docs/connect/v3/market-quotes/#instruments