Hi @yuyang
Please try this code:
#pip install refinitiv.dataplatformimport refinitiv.dataplatform as rdprdp.open_desktop_session('xxxxxxxxxxxxxx')df = rdp.get_historical_price_summaries( universe = 'TSLA.O', interval = rdp.Intervals.FIVE_MINUTES, start = '2021-02-20', end = '2021-02-21' )df
Thank you for your reply, but all our codes are based on Eikon (Import Eikon as EK), your method needs to install a new package, I would like to know whether Eikon's method can get 5 minutes of historical data?
I use the method you provided (Ek.get_TimesSeries ()) to get the TSLA time-sharing data of a certain day, such as the historical time-sharing data of 2021-02-18. The data returned is from 0:00 to 01:00 and from 9:01 to 23:59 on the 18th. How can these data be distinguished between pre-market data, intra-market data and post-market data during that period?