1) I would like to extract details for a set of vessels based on some criteria, saw dwt, year of build, sub type etc. The fields that I need can be defined as a list to be passed as params to get_data. However for instruments I am constrained since I need to predefine the list and cannot query it. Is there any way it can be done? Would be useful for instruments where RICs may not be known but values for some of the fields might be known.
2) Would it be possible to categorize vessels by certain attributes like an index in equities. This should help query all constituents of the index. For eg if a list of all oil tankers are created or a list of all VLCCs. Then it would easier to just feed in the index instrument.
You can use the Search wizard behind the Search button in Thomson Reuters ribbon in Eikon Excel to manually set up search criteria for vessels and retrieve vessel identifiers for ships that satisfy your criteria into Excel. Unfortunately this capability is not currently available in Python. At the moment the only API that provides programmatic access to this search is the RSearch library of legacy Eikon COM APIs. Check out the tutorial on RSearch library and this previous thread discussing similar topic.