Not able to get nifty50 historic data
-
Hi,
Need some help on ow to fetch nifty50 historic data.
getCandleData returns empty dataset for the query below. Can you please guide what needs to be changed to get the nifty50 data.
{
'exchange': 'NSE',
'tradingsymbol': 'NIFTY50',
'symboltoken': '26000',
'interval': 'FIVE_MINUTE',
'fromdate': '2021-06-03 00:00', '
todate': '2021-06-03 09:21'
}Reagrds,
Kingshuk -
@kingshuk
Three mistakesSymbol u should use left side - not tradingsymbol
Similarly u should use only token on left side.
Nifty50 is not symbol.
Ref my previous reply
-
@Mnagesh I am using python api - getCandleData
I am trying to get candle data for index NIFTY50 not for any options.
The call to with the following is returning empty data set. Can you please give me some clue about how to fix it
{
'exchange': 'NSE',
'tradingsymbol': 'NIFTY50',
'symboltoken': '56734',
'interval': 'FIVE_MINUTE',
'fromdate': '2021-06-21 00:00',
'todate': '2021-06-21 09:21'
}Regards,
Kingshuk -
@kingshuk
exchange is NFO
token = "56734"
symbol = "NIFTY30JUN22FUT"i am not sure which api function you are calling
note:
token and symbol changes every month