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 0

Eikon Python Ship API did not return Ship Destination

We found the EIKON API returned us “Ship Trace” with “Empty Destination”

1624549821490.png

However, our user’s Reuters console showing “Destination” as “APHA ZONE” correctly

Here are the parameters we passed to the EIKON (Python) API

1. We are requiring the following “assets”

TR.AssetName;TR.AssetType;TR.AssetIMO;TR.AssetFlag;TR.AssetDWT;TR.AssetLOA;TR.AssetCubicCapacity;TR.AssetBeam;TR.AssetDraught;TR.AssetHullType;TR.AssetRegisteredOwner;TR.AssetBuilt;TR.GrossTonnage;TR.AssetFuelOil;TR.AssetRegisteredOwnerAddress;TR.AssetLocationLatitude;TR.AssetLocationLongitude;TR.AssetDateTime;TR.AssetDestination;TR.AssetETA;TR.AssetETAPrevious;TR.AssetETAChangeTime;TR.AssetHeading;TR.AssetSpeed;TR.AssetCallSign;TR.AssetFacilityType;TR.AssetPort;TR.AssetPortRIC;TR.AssetDestinationPort;TR.AssetDestinationPortRIC;TR.AssetDestinationCountry;TR.AssetPreviousPort;TR.AssetPreviousPortRIC;TR.AssetPreviousCountry

2. API Options as

options = { 'SDate': '1D', 'EDate': '-1AW'}

3. API call as

 
df = ek.get_data("9270488", assets, options)
 

ONLY one IMO as a simple test case.

PS: I will give you another successful example to compare.

df = ek.get_data("9281011", assets, options)

Here could be the possible reason:

One of the “Asset” value might cause the data formatting issue that “prevent” the “destination” value return.

Since the Reuters client showing the “destination” value correctly, it must be some other “asset” value messed up the data format.

Please help to pass this to your support developer to take a look.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
1624549821490.png (82.7 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
Upvotes
Accepted
18.2k 21 13 21

Hi @ZShi

I think you have to refer to "TR.AssetDestination" field, column T in your screenshot.

ahs1.png



ahs1.png (50.8 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.