Nifty50 index options current day historical ohlc and volume data not available

Respected sir/ma’am,

I am currently working on python script for automate trading. For that I want the current day historical ohlc and volume data from 09:15 to current time of nifty 50 index options in 1 minute time frame. I go through the upstox developer console and tried the perticular api but found it does not fetch and receive the current day data.

So I want to know does the upstox provides current day historical ohlc with volume data for nifty 50 index options in 1 minute time frame ?

If it provides, perticular which api should I use fetch the data ?

Regards,

@GOVINDBHAI_35321773
You can fetch the current day’s candle using the Intraday API:

If you need live updates, you can subscribe to the Market Feeder v3 WebSocket, which also provides the previous 1-minute candle:

For easier implementation, you may refer to the streamer functions:

Thanks!