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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 0

RIC asserted as invalid even though it is returned by an Eikon function.

Hi friends,

I have queried a particular ship's RIC based on its IMO in the python language like so:

RIC_code = ek.get_symbology("9040455", from_symbol_type="IMO", to_symbol_type="RIC")

RIC_code

the response is

RIC9040455C}KM7309468913


But when I use the returned RIC in a subsequent query

data2 = ek.get_timeseries('C}KM7309468913', # the RIC

fields='*', # all fields

start_date='2019-09-01', # start date

end_date='2019-10-31') # end date


I get an error response :

Error with C}KM7309468913: Invalid RIC C}KM7309468913: Invalid RIC | .

Is there a way to get past this to the data I want?


Thank you.


eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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.

Upvotes
Accepted
18k 21 12 20

Hi @ivan.markose

This is not a valid RIC on quote or timeseries database.

Please use "Data Item Browser" to explore what field you are interested in.

And please use get_data() to get the information.

(You may click on Parameter to see any supported parameters too)


Example using get_data():


ahs.png (199.0 KiB)
ahs1.png (10.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.

Upvotes
6.7k 8 6 7

@ivan.markose Its a physical asset RIC - in this case a ship - so as Chavalit points out it will not have any timeseries as such - so you should use get_data() call with appropriate fields by checking Data Item Browser to see what is available.

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.

Upvotes
1 0 1 0

Hi Jason,

Thank you. Yes I now understand how to use the get_data() function


Thank you

Ivan


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