Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

Minutely stock price get_timeseries()

Hello,

I want to retrieve the stock price minutely in a time range:

df = ek.get_timeseries([".AXJO"], start_date = "2023-03-01", end_date = "2023-03-13", interval="minute")

but it shows error: No data available for the requested time range

1715215031027.png


When I remove the end_date, it shows the results, which I want to achieve but in different time range as below:

1715215130304.png

Please help to check how can I retrieve stock price minutely in a specific time range!

Thank you very much

eikoneikon-data-api#producttime-series
1715215031027.png (103.3 KiB)
1715215130304.png (81.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
81.3k 267 53 76

@Hana

Thank you for reaching out to us.

I checked and found that the Intraday time series database only stores up to 1 year of history.

This is why it returns No data available for the requested time range when request data for Mar 2023.

To get older data, you may need to use another product, such as LSEG Tick History. For more information, please contact your LSEG account team or sales team directly.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I have changed the time range but it still shows the same error:

Can you please help to check the code if it works? Thank you very much

df = ek.get_timeseries(["MSFT.O"], start_date = "2024-05-15T15:04:05",end_date = "2024-05-16T15:04:05", interval="tick")

I think it is 90 days for tick data.

df = ek.get_timeseries(["MSFT.O"], start_date = "2024-02-07T15:04:05",end_date = "2024-02-07T17:04:05", interval="tick")
df

Hello,

I've changed the code to minute and it still shows the same result:

df = ek.get_timeseries(["MSFT.O"], start_date = "2024-05-15T15:04:05",end_date = "2024-05-16T15:04:05", interval="minute")

EikonError: Error code -1 | MSFT.O: No data available for the requested date range |

Can you please check if it works from your end. thank you


Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.