Symbology conversion for vessel IMOs

Hi,

I have a list of vessels for which I have the IMO numbers (more than 20,000 vessels) and I would like to get the RICs for these vessels. There seems to be no data item for Vessel RIC and hence Eikon Get Data functionality wont be helpful. RDP search for Vessel Physical assets can be one option but I am not sure how to pass a list as a filter within the arguments. Is that possible? Or is there a way to use symbology conversion to convert the IMOs to RICs.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @Sudharsan.Sarathy

    You can use Refinitiv Data Library for Python.

    IMO_List=['9619907', '7313652', '9131034']
    filter_str = 'IMO in ('+' '.join(["'{}'".format(value) for value in IMO_List]) +')'
    rd.discovery.search(
        view = rd.discovery.Views.SEARCH_ALL,
        top = 100,
        filter = filter_str,
        select = "IMO, RIC, AssetName"
    )

    The code above creates a filter string from a list of IMO. Then, it calls the rd.discovery.search method to get the result.

    The output is:

    1674464532754.png

Answers