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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 0

Access historical starmine data through python

Hello, I am trying to pull historical starmine data using the python Eikon Data API, example code below. Currently, this call just returns the most recent values for the respective fields. Is there any modification I can make to have it return historical data?


If not available in the python sdk, is there any other API call that I can make to get this historical time series?

import eikon as ek
ek.set_app_key(...)
df, err = ek.get_data(
['GOOG.O', 'MSFT.O', 'FB.O', 'AMZN.O', 'TWTR.K', 'AAPL.O'],                      ['TR.IVIntrinsicValue','TR.IVPriceToIntrinsicValue','TR.RelValEvSalesComponent','TR.PriceMoRegionRank'],
 {'SDate': 0, 'EDate': -10, 'FRQ': 'D', 'Curn': 'USD'}
)
eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonstarmine
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
18k 21 12 20

Hi @brandon_ts

These 4 fields in your question do not support timeseries data.

So it is not possible to retrieve the data back in history on these fields.

You can use Data Item Browser to check supported parameters on any fields.


ahs.png (68.1 KiB)
icon clock
10 |1500

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

Click below to post an Idea Post Idea