While using the Upstox API (v2), I am facing an issue with fetching historical candlestick data for NSE_FO and NSE_EQ instruments. Specifically:
- API Endpoint Used: `https://api.upstox.com/v2/historical-candle/{instrument_key}/{interval}`
- Instrument Example: NSE_EQ|INFY, NSE_FO|RELIANCE
- Interval Tried: daily, 15minute, 5minute
- Observed Issue: The API returns empty data or HTTP 404 errors for these instruments, even though the access token is valid.
I would like to confirm:
- Is historical candlestick data for F&O instruments available via the API?
- Are there any limitations or special permissions required to access this data?
- If available, could you provide an example API request that would successfully return candle data?
This data is crucial for implementing breakout detection and other technical analysis features in my application.