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.


Best Answer

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

    image

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


    Example using get_data():

    image

Answers

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

  • Hi Jason,

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


    Thank you

    Ivan


Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.