Why is blank instrument_token returned by get_trades_by_date_range?

{‘amount’: 15133.5,
‘exchange’: ‘NFO’,
‘expiry’: ‘2025-01-30’,
‘instrument_token’: ‘’,
‘isin’: '',
‘option_type’: ‘PE’,
‘price’: 1008.9,
‘quantity’: 15,
‘scrip_name’: ‘BANKNIFTY’,
‘segment’: ‘FO’,
‘strike_price’: ‘52000.0’,
‘symbol’: ‘BANKNIFTY’,
‘trade_date’: ‘2025-01-03’,
‘trade_id’: ‘109406’,
‘transaction_type’: ‘SELL’}

  1. The instrument_token is blank. why?
  2. Trading symbol should be present in response.
  3. Trade time should also be present, date is stored, so if time is also stored, it will take same storage space.

Hi @Kislay, are you referring to the Get Historical Trades API?

I was able to retrieve the instrument token and ISIN from this API. Here’s the response:

Could you please share the exact time when you encountered this issue and provide the curl request for reference?

Thank you.

Hi @Ketan , yes I am referring to get historical trades api. You got instrument token because you checked for equity trade, if you check for options trades, it will be missing. I used python sdk.

@Kislay Thanks for bringing this up. We will check and update you asap.

Hi @Pradeep_Jaiswar , did we get an update on this?

@Kislay, we have identified the issue—instrument keys for the FO segment are not being received from the back office. We are currently looking a solution to generate the instrument token on our end. We will keep you updated on this.

Thank you.