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

Python API - calling historical vessel data

Hi,

I am trying to pull historical vessel data for a particular ships imo.


info= [ 'TR.AssetDateTime',

'TR.AssetName',

'TR.AssetLocationLatitude',

'TR.AssetLocationLongitude',

'TR.AssetLocation',

'TR.AssetEnterTimestamp',

'TR.AssetLocationDraught',

'TR.AssetLocationDraughtPercentage',

'TR.AssetSpeed',

'TR.AssetHeading',

'TR.AssetDestination',

'TR.AssetDestinationPort',

'TR.AssetDestinationCountry',

'TR.AssetDestinationZone',

'TR.AssetETA',

'TR.AssetPreviousPort',

'TR.AssetPreviousCountry',

'TR.AssetPreviousEntryTime',

'TR.AssetPreviousExitTime',

'TR.AssetSubSubType'

]

df, err = ek.get_data(imo, info,{'Frq': 'H','SDate': -100,'EDate': 0})


I use the above to pull the hourly data for the last 100 days. But it does not return historic data for the below.

'TR.AssetName',

'TR.AssetLocation',

'TR.AssetDestination',

'TR.AssetDestinationPort',

'TR.AssetDestinationCountry',

'TR.AssetDestinationZone',

'TR.AssetPreviousPort',

'TR.AssetPreviousCountry',

'TR.AssetPreviousEntryTime',

'TR.AssetPreviousExitTime',

'TR.AssetSubSubType'


Thanks,

Henry



eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apiapivesselissuehelpdesk
capture.png (108.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.

@hwooles

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @hwooles

I used "Data Item Browser" to confirm that TR.AssetName and TR.AssetLocation do not support timeseries.



I think other fields also do not support timeseries, please contact Refinitiv Content Helpdesk at https://my.refinitiv.com/ to get an authoritative answer on the content behavior.


ahs1.png (110.8 KiB)
ahs2.png (104.5 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.

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.