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"
}'
Hardik
February 27, 2023, 6:15am
2
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.
Hi, Any update the above issue, i also tried now still facing same issue
Hardik
June 23, 2023, 4:07am
4
Hello @Rajeshrajc
Welcome to Dhan Community!
This issue was fixed. Can you please confirm what is the exact error message that you are getting.
Not able to get the historical data for options in NSE_NFO can you please help with a sample
{
“symbol”: “TCS-Jun2023-3200-CE”,
“exchangeSegment”: “NSE_FNO”,
“instrument”: “OPTSTK”,
“expiryCode”: 0,
“fromDate”: “2023-06-14”,
“toDate”: “2023-06-27”
}
Hardik
June 28, 2023, 4:54am
6
Hello @Shashidhar
Looks like you are trying to get Historical data for Options. Currently, we do not provide Options Historical Data. We will try to include this as part of our Data APIs soon.
rajini
August 6, 2023, 7:01pm
7
Is API available for historical data now?
Hardik
August 9, 2023, 8:44am
8
Hello @rajini
Historical Daily data is available for maximum instruments and segments. You can check the same in the documentation - Historical Data - DhanHQ Ver 1.0 / API Document .