Max Days in historical data
-
Hi Smart Api Team,
Are there any changes introduced in the max days that can be queried with Historical api?
I am not able to fetch 100 days data for 5 Min interval and 30 Days data for 1 Min interval. It used to work earlier. Can you please check.Thanks.
-
@Moderator_3 Can you please update on the issue
-
@Moderator_3 success
-
@Moderator_3 Please find the curl below
curl --location 'https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData'
--header 'X-ClientLocalIP: 192.168.200.129'
--header 'X-ClientPublicIP;'
--header 'X-MACAddress;'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer Token'
--header 'X-PrivateKey: 3J9h3Ukp'
--header 'X-SourceID: WEB'
--header 'X-UserType: USER'
--header 'Cookie: TS0179ac75=0167ca9f9b63a06781743099d6697bce61dc9aa8211897f10c1005ebdd27b3c45b539edb25cc338e3493a9a7f806186d58b17e335d'
--data '{
"exchange": "NSE",
"symboltoken": "99926000",
"interval": "FIVE_MINUTE",
"fromdate": "2024-07-29 09:15",
"todate": "2024-09-20 15:30"
}
'
I am querying from 29 july 2024 to 20 sept 2024 for 5 min interval data. But I am getting response date starting from 14th Aug. Please find the snap below
-
hi @nitish-bane
We have not made any changes in Historical API - "/rest/secure/angelbroking/historical/v1/getCandleData"Also we can fetch 100 days data for 5 Min interval and 30 Days data for 1 Min interval data using this API . Can you please give us your request structure or curl .
Thanks