Historical-candle data not giving today's data

I am using https://api-v2.upstox.com/historical-candle for the instrument key= “NSE_EQ|INE009A01021”

But I have only been getting data till yesterday. I ain’t getting today’s candles.

For today’s data, you need to use the intraday API available which provides today’s data.

You can refer to the sample code available here.