Fetching Gift Nifty code returning other symbol

vibhu
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.

The code used is -
kite.quote("NSEIX:GIFT NIFTY")
  • vibhu
    Hi guys any update on this?
  • sujith
    Hi @vibhu,
    I can confirm this behavior. Thank you for reporting. We have informed the concerned team to take a look at this.
  • DeepakTanpure
    Hi @sujith

    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}}}
  • rakeshr
    Can you please share any update.
    {'instrument_token': 291849, 'tradingsymbol': 'MCXSILVDEX',
    The above query was related to the instrument file, not ohlc quote. That was fixed the subsequent morning file.
    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}}}
    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.
  • DeepakTanpure
    How to retrieve GIFT NIFTY ohlc values in early morning ?
  • rakeshr
    How to retrieve GIFT NIFTY ohlc values in early morning ?
    You can use the same quote call during the GIFT NIFTY session.
Sign In or Register to comment.