It looks like you're new here. If you want to get involved, click one of these buttons!
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
How to get historical data for expired futures contract
I am trying the historical_data() function by using continuous parameter as 1
data = kite.historical_data("12516098",prevDate,currentDate,interval="60minute",continuous=1)
import pandas as pd
df = pd.DataFrame(data)
However I am not getting any data in the dataframe.
When I am trying the same code with interval="day" , I am getting daily close,high,low and open price
But I want data in this format for every hour.
Can anyone please help me to solve this.
futures historical data
We only provide day candles for expired future instruments.