Dear Angel Broking API Support Team,
I am facing an issue while using the Angel Broking Historical Candle Data API. When attempting to fetch historical data for Bank Nifty (symbol: NSE:26009) with the /rest/secure/angelbroking/historical/v1/getCandleData endpoint, I am receiving a response indicating "no candle data or data points and time range not available."
Below are the key details of my query:
Endpoint Used: /rest/secure/angelbroking/historical/v1/getCandleData
Request Payload:
{
"exchange": "NSE",
"symboltoken": "26009",
"interval": "FIVE_MINUTE",
"fromdate": "2025-01-27 10:00:00",
"todate": "2025-01-27 11:00:00"
}
Authorization Header: JWT Token generated successfully using /rest/auth/angelbroking/user/v1/loginByPassword.
Error Details: No candle data or time range not available, despite providing a valid time range and parameters.
Could you please confirm:
If there are any specific restrictions/limitations for fetching historical candle data (e.g., minimum or maximum time range for intervals)?
If the symbol token or interval mapping (e.g., "FIVE_MINUTE") is incorrect?
If there are API rate limits that might block this request?
Whether the format of fromdate and todate (YYYY-MM-DD HH:MM:SS) is supported or needs adjustment?
Your guidance on resolving this issue will help us troubleshoot further and modify the code accordingly.