Importing Data via the python Eikon API

When importing data via the python Eikon API, one is requested to specify the items that need to be imported. I am using a list of ISINs that represent securities. When I import the data I would like a variable data indicates whether the security is a bond, equity, or other. Which command do I need to retrieve this data?

@Alex Putkov.1

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    Try

    ek.get_data(["US3453708600;US345370BR09"],
                ["TR.AssetCategoryCode;TR.AssetCategory"])

    See this tutorial, which talks at length about metadata discovery (finding field names and parameters) for use with Eikon Data APIs.