Hello,
Is the dhan api ready now with Tradehull integration?
Can you send me the link please?
Also send the documentation please
Also, send a sample code to download
NIFTY 50 index futures data for 5 min timeframe for the last 10 years from dhan api?
Hi @spatwa3001
Do check these links
Thank you for this.
But can you share this info?
how to get NIFTY 50 index futures data for 5 min timeframe for the last 10 years from dhan api?
historical data function gives daily candle data.
and intraday data function gives data only for that day.
How do I get data for 5 min timeframe for the last 10 years?
This is not supported by dhanhq as of now
In Dhan Api v2,
https://api.dhan.co/v2/#/operations/intradaycharts
It has a fromDate and ToDate in payload:
{
"securityId": "string",
"exchangeSegment": "NSE_EQ",
"instrument": "INDEX",
"interval": "1",
"fromDate": "string",
"toDate": "string"
}
Why don’t we use this to get last 10 years of data> Can you create a wrapper around it?
Hello please check my comments
Hello @spatwa3001, Dhan api not giving upto 10 years data for 5mins timeframe. Dhan api only giving upto 5 days for maximum timeframes.
I mean to create a wrapper that runs in loop to get the 10 years of data by hitting the api for every 5 days.
Anyway, I did it myself, it’s working for me. Never mind
How to get futures data?
Which is not available in the api-master-script file?
Hello @spatwa3001 which data you are refering? Can you elabarate more about your question?