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

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

@ivan.markose

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

Upvotes
Accepted
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

Upvotes
10.2k 18 6 9

@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 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 2 1

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