Time is not updated in API

Options
RyanE
RyanE LSEG
edited 4:21AM in Eikon Data APIs

Client is using the script

intraday_data = ld.get_data(universe=etf_tickers, fields=["TRADE_DATE", "SALTIM","TRDPRC_1", "HST_CLOSE"])

intraday_data.rename(columns={"SALTIM":"TRADE_TIME", 
"Instrument": "ETF Ticker", "TRDPRC_1": "Intraday", 
"HST_CLOSE": "Prior_day"}, inplace=True)

However, it the time was stuck and did not change.

May I what is the resolution for this error?

Please check the screenshot below:

API ss4.png API ss3.png API ss2.jpg

 

Answers

  • wasin.w
    wasin.w admin

    Hello @RyanE

    The ld.get_data() method gets the real-time pricing snapshots data, so it sources data from different service than the Workspace Chart application.

    I checked the data, and the time is match to the Workspace Quote app for the same RIC

    • I am on the GMT+7 time zone, while the ld.get_data always returns GMT0 time.
    code.png quote1.png quote2.png

    If the client needs the streaming real-time data, the client can use the Content layer - Pricing-StreamingEvents or Delivery layer - OMM Stream objects of the library.