Hey everyone, I was trying to extract 1-minute candles for Nifty options and futures.
Regarding options data, there are many missing candles, and even full option contracts are missing.
Regarding futures data: I am not getting any candles for the December 2024 futures contract, and when I try to extract the instrument key for April, the key is also not available
Hey @VED_25634106, Futures contracts are typically standardised to expire monthly or quarterly, not weekly.
April 30, 2025, is a weekly expiry, not a monthly expiry, the monthly expiry for Nifty 50 futures is Thursday, April 24, 2025 . Try with monthly expiry for FUT
Expired OHLC data is properly available after June 15th contracts. Data before that may have some inconsistencies.
Thanks
If I am not wrong, Nifty fut expiry is same as last weekly expiry of Nifty. is there any api to get expiry dates of fut also?
And have you had a chance to look at 26 Dec 2024, getting empty candles ( screenshot attached in post)
Hi @VED_25634106
Not necessarily — currently, the Nifty futures expiry falls on the last Tuesday of the month ; earlier, it used to be on the last Thursday of the month .
We’ve checked and found that data prior to 15th June 2025 may contain some inconsistencies.
Yes, as Nifty expiry shifts to Tuesday, I have two more important points I’d like to confirm:
-
UAT Environment Fidelity: I see there is a UAT (User Acceptance Testing) environment where I can place orders. Will the UAT results be the same as the real environment? (Specifically, regarding price slippage and the execution price in the real-live environment.)
-
Order Placement API Features: Do we have an API feature in both the UAT and live environments?? that allows me to place a single order call with target, stop loss (SL), and trailing stop loss (TSL) FOR OPTIONS?
Hi @VED_25634106, We don’t have a UAT environment. However, we do provide a Sandbox environment. Please refer to Sandbox | Upstox Developer API on how to create a sandbox app and generate a sandbox access token.
Also, check for the list of supported endpoints in sandbox
Thanks