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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
1624549821490.png (82.7 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.

1 Answer

Upvotes
Accepted
18k 21 12 20

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea