Missing Historical Data API Output for FUTURE and OPTIONS

Hi,

Can you pls check what’s wrong in this request ? I’m unable to fetch historical data for nifty future

curl -X 'POST' \
  'https://api.dhan.co/charts/historical' \
  -H 'accept: application/json' \
  -H 'access-token: ' \
  -H 'Content-Type: application/json' \
  -d '{
  "symbol": "NIFTY-MAR2023-FUT",
  "exchangeSegment": "NSE_FNO",
  "instrument": "FUTIDX",
  "expiryCode":0,
  "fromDate": "2023-02-20",
  "toDate": "2023-02-23"
}'

Hello @Bishnupada

We checked this and there seems to be a bug at our end for Futures Historical data. We will deploy the fix soon.