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 1 0 2

How do I download Historical Data from Starmine?

I want to get the data that I would get in Excel by using the function and parameters that follow

=RHistory("BBVA1YDP=SM";"SMART RATIOS DP.Timestamp;SMART RATIOS DP.Value";"INTERVAL:1D";;"TSREPEAT:NO CH:Fd";"DATE")

In Python:

import eikon as ek

ek.set_app_id(id_reservas2)

### THE FOLLOWING WORKS FOR OTHER STARMINE SERIES###

bbva = ek.get_timeseries(["BBVA1YDP=SM"],

fields=["CLOSE"],

start_date="2017-07-12")

bbva

### THIS FAILS ###

bbva = ek.get_timeseries(["BBVA1YDP=SM"],

fields=["SMART RATIOS DP.Timestamp",

"SMART RATIOS DP.Value"],

start_date="2017-07-21")

bbva

### THIS ONLY ACCESES THE LAST DATA ###

ek.get_data(["BBVA1YDP=SM"],

fields="SEC_ACT_1")

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apihistoricalDownloadstarmine
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
Upvotes
Accepted
39.4k 77 11 27

I'm afraid I don't see any way of retrieving this data currently using Eikon Python API.

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.

And with other API? or other method?

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.