I’m currently using the Upstox Python SDK to fetch historical data for expired option contracts. While fetching data in most timeframes (such as 1 minute, 5 minutes, and daily) works correctly, I’m consistently encountering an issue with the 10-minute timeframe — the API returns “no data found”, even though data exists for the same contract in other timeframes.
Here are the details of my setup and the issue:
SDK Used: Upstox Python SDK (upstox_client)
API Endpoint: /historical-candle-data
Contract Type: Expired NIFTY Option (e.g., NSE_FO|47667|04-11-2025)
Issue: No data returned when timeframe = “10minute”
Expected: 10-minute OHLCV data similar to other timeframes
Could you please confirm if this is a known limitation or a bug in the historical data API for expired contracts? If not, kindly advise how I can fetch 10-minute data for expired contracts.
Looking forward to your assistance.