Hi, while fetching GIFTNIFTY quote NSEIX:GIFT NIFTY the library is returning some other symbol. Here is the response which I am getting. {'NSEIX:GIFT NIFTY': {'instrument_token': 291849, 'tradingsymbol': 'MCXSILVDEX', 'timestamp': datetime.datetime(1970, 1, 1, 5, 30), 'last_price': 10698.45, 'net_change': 0, 'ohlc': {'open': 10828.1, 'high': 10866.52, 'low': 10617.57, 'close': 10685.54}}}
The the token_id and name is correct in response but trading symbol and other details are incorrect.
I just checked the tick log for a minute of 2024-04-19T08:45:00+05:30 for instrument token-291849, wasn't able to find above OHLC values. Make sure, you are fetching quote for the correct instrument token.
I can confirm this behavior. Thank you for reporting. We have informed the concerned team to take a look at this.
Can you please share any update.
yesterday at 8:45,
kite.ohlc('NSEIX:GIFT NIFTY')
returned incorrect values{'NSEIX:GIFT NIFTY': {'instrument_token': 291849, 'last_price': 10698.45, 'ohlc': {'open': 10828.1, 'high': 10866.52, 'low': 10617.57, 'close': 10685.54}}}
2024-04-19T08:45:00+05:30
forinstrument token-291849
, wasn't able to find above OHLC values. Make sure, you are fetching quote for the correct instrument token.