Access to historic values
-
Hi,
Do we have any APIs available to get historic values of indices? -
Hi @suburangs post ss of both code and error in console.
-
@admin Tried but code is breaking.
-
Hi @suburangs can try below mentioned piece of code:
{
"exchange": "NSE",
"symboltoken": "15083",
"interval": "ONE_DAY",
"fromdate": "2021-04-20 09:30",
"todate": "2021-04-29 10:00"
} -
@admin historicParam={'exchange': 'NSE', 'symboltoken': '3456', 'interval': 'ONE_DAY', 'fromdate': '2020-04-16 00:00', 'todate': '2021-04-15 23:00'}
data=obj.getCandleData(historicParam) -
historicParam={'exchange': 'NSE', 'symboltoken': '3456', 'interval': 'ONE_DAY', 'fromdate': '2020-04-16 00:00', 'todate': '2021-04-15 23:00'}
data=obj.getCandleData(historicParam) -
Hi @suburangs said in Access to historic values:
getting this error while using getCandleData API Rest Request
'DataException' object has no attribute 'message'Post your piece of code here.
-
@suburangs
post your request body snip here. -
getting this error while using getCandleData API Rest Request
'DataException' object has no attribute 'message'
-
Hi @arun1977 ,
This might help you:
https://smartapi.angelbroking.com/topic/9/length-of-intraday-and-historical-data