I am trying to retrive 1 min data for banknifty futures however I am either getting blank data or below error DataException: Unknown Content-Type (text/html) with response: (b"
504 Gateway Time-out
\nThe server didn't respond in time.\n\n")
This is my query - kite.historical_data(14350850,from_date,to_date,'minute',1)
@omkar89 Continuous data is available only for day candle. You need to send interval as day instead of minute. kite.historical_data(instrument_token=14350850,from_date='2019-04-01', to_date='2019-04-30', interval="day",continuous=1)
Thanks @rakeshr , i was trying to get 1 min data for banknifty for last year, could you please let me know if this is possible and if yes , some guidance on how to go about it
from_date = "2020-04-01"
to_date = "2020-04-05"
Continuous data is available only for day candle. You need to send interval as
day
instead ofminute
.kite.historical_data(instrument_token=14350850,from_date='2019-04-01', to_date='2019-04-30', interval="day",continuous=1)
We only provide day candle data for expired futures instruments.