getQuote() for global exchange

raja1sttarde
Hello,

getQuote function for exchange `global`, trading symbol `us30` or any of the indices yields no results.

Please guide.

Thanks
Tagged:
  • rakeshr
    @raja1sttarde
    We are checking on this.
  • rakeshr
    This should be fixed.
  • pranksterguru
    even in websocket we are not getting updates for any of the below

    token tradingsymbol name
    1556 USCOMPOSITE US COMPOSITE
    1557 US30 US 30
    1558 US100 US 100
    1559 SHANGHAICHINA SHANGHAI CHINA
    1560 UK100 UK 100
    1561 HANGSENG HANG SENG
    1562 AUS200 AUSTRALIA 200
    1563 FRANCE40 FRANCE 40
    1564 GERMANY40 GERMANY 40
    1566 JAPAN225 JAPAN 225
    1567 US500 US 500
    1569 US10YRYIELD US 10 YEAR TREASURY YIELD
  • sujith
    @pranksterguru,
    You need to use instrument token to fetch data on Websockets API. You can know more here.
  • raja1sttarde
    hello,

    @sujith @rakeshr thank you for fixing this. really helps.

    The prev day close is off. for eg; JAPAN225, the quote is
    Array
    (
    [GLOBAL:JAPAN225] => stdClass Object
    (
    [instrument_token] => 400905
    [tradingsymbol] => JAPAN225
    [timestamp] => DateTime Object
    (
    [date] => 2025-03-07 10:08:28.000000
    [timezone_type] => 3
    [timezone] => Asia/Kolkata
    )

    [last_price] => 36918.17
    [net_change] => -786.76
    [ohlc] => stdClass Object
    (
    [open] => 37198.3
    [high] => 37221.65
    [low] => 36857.12
    [close] => 37704.93
    )

    )

    )

    In quote PDC is 37,704.93, which matches yahoo finance quotes
    Nikkie closed on 6th March at 37,033 on tradingview, and on investing.com it closed at 37,035 for same date

    I think the yahoo finance data is incorrect...
  • sujith
    We don't have the close price value from BHAV copy like NSE and BSE instruments. Hence whatever is the last price recorded on our platform is considered as close price. We have asked the concerned team to take a look at this.
  • pranksterguru
    why arent the hongkong and shangai indice values not getting poupated? even in kite it doesnt seem to show proper data
  • Sravanthi_bh
    We are checking this.
Sign In or Register to comment.