Historical Data API returning empty candles for CDS (currency derivatives) segment

gowthamkaup
Hi, I'm using Kite Connect (Python kiteconnect SDK) with a live, working session — kite.quote() and kite.historical_data() both work correctly for NSE equity instruments.

I'm now trying to pull historical 5-minute candles for NSE Currency Derivatives (CDS segment) — specifically USDINR near-month futures. Here's what I've confirmed:

kite.instruments("CDS") correctly returns the instrument list, and I can resolve a valid instrument_token for USDINR's near-month FUT contract (e.g. token 265731).
kite.quote([265731]) works and returns a correct live LTP.
kite.historical_data(265731, from_date, to_date, "5minute") returns an empty list — no error, no exception, just [] — for a 2-day lookback window that definitely includes trading sessions.

The same historical_data() call pattern works fine for NSE equity tokens on the same API key/session, so this looks specific to the CDS segment rather than a general historical-data permission issue.

Question: Does the Historical Data API subscription need to be separately enabled/scoped for the CDS (currency derivatives) segment, or is there a different parameter needed for currency futures specifically? Is CDS historical data included in the standard Historical Data add-on, or does it require something else?

Any pointers on where to check/enable this in the Kite Connect developer console would be appreciated.

Note : Asking specifically whether it's a subscription-scope issue or a platform-wide limitation
  • salim_chisty
    salim_chisty edited July 21
    @gowthamkaup, we haven't seen any trades for USDINR26724FUT (instrument token: 265731) for a long time, as it is an illiquid contract. Since there were no trades, the historical data API returns an empty candles array for this instrument.
Sign In or Register to comment.