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

Historic get_data() for TR.AssetCharterer returns blank

Hi,

I'm trying to get the charter history for oil tankers. It's possible to get this using `get_data()` on the `TR.AssetCharterer` field, as below:

`TR.AssetCharterer` is listed as a time series field in the Data Item Browser, yet whenever I try to get any historic data, either through `get_data()` or `get_timeseries()` it returns an empty string:

This holds true whether I'm specifying a specific date, a relative date or a range. Am I misunderstanding `TR.AssetCharterer` as a data point, or is this an issue with the API?

Any help would be much appreciated!

Louis.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apihistorical
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.

Upvote
Accepted
18.2k 21 13 21

Hi @lgoddard

I think it is about the content available and your parameters.

So your API call hit another record which has "Charterer" as blank.

Please try this: (I add 2 more fields to show the difference between each blank value)

rics = 'C}KM7309484069'
fields = ['TR.AssetLoadingDateFrom',
          'TR.AssetLoadingDateTo',
          'TR.AssetCharterer']
parameters = {'SDate':'2015-01-01', 'EDate':'2020-03-27', 'TOP':'100'}

df,e = ek.get_data(rics, fields, parameters)
df



ahs.png (78.4 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.

Upvotes
3 0 0 1
Hi @chavalit.jintamalit - that's perfect, thank you. I should have explored the data a bit more before posting!
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.

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.