OHLC Quotes V3 gives null for prev_ohlc

curl --location ‘https://api.upstox.com/v3/market-quote/ohlc?instrument_key=NSE_FO|48212&interval=1d’
–header ‘Content-Type: application/json’
–header ‘Accept: application/json’
–header ‘Authorization: Bearer {your_access_token}’

No matter which instrument I try, this API always returns null for prev_ohlc.
Is this a known bug, or are there any limitations with this endpoint?

@Sachin_Khodpia Please validate this for me.

Hi @SUKANYA_44263396
For the 1-day interval, the prev_ohlc field will always be null.
If you need the OHLC data for the previous day, please use the Historical Data API:

For other timeframes, such as 30-minute or 1-minute intervals, the prev_ohlc field will be populated with valid data in the Market Quote v3 API.

Thanks!