We would like to read non standard historical data via kite api. As per this doc we can read only minute · day · 3minute · 5minute · 10minute · 15minute · 30minute · 60minute If we wanted to read other time interval how to do that?
@RUZ282 You can retrieve the 1min data and resample to your desired interval using pandas resample method. Read the pandas resample documentation and do some hands on experimentation, you should be able to figure out how to resample.
API:
https://kite.zerodha.com/oms/instruments/historical/2433027/minute?user_id=RUZ282&oi=1&from=2016-01-01 9:00:00&to=2016-02-01
Response:
{
"status": "success",
"data": {
"candles": []
}
}
Note: Here the instrument is USDINR23SEPFUT