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


image


Best Answer

  • Hi @hwooles

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

    image


    image


    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.