CoinMetricsClient.get_taxonomy_assets

coinmetrics.api_client.CoinMetricsClient.get_taxonomy_assets(
    assets=None,
    class_ids=None,
    sector_ids=None,
    subsector_ids=None,
    classification_start_time=None,
    classification_end_time=None,
    end_inclusive=None,
    start_inclusive=None,
    page_size=None,
    paging_from=None,
    version=None,
)

Returns assets with information about their sector, industry, and industry group IDs. By default reutrns all covered assets

  • Parameters:

    • assets (Optional *[*List [strarrow-up-right ] ]) -- Asset names

    • class_ids (Optional *[*List [strarrow-up-right ] ]) -- List of class identifiers.

    • sector_ids (Optional *[*List [strarrow-up-right ] ]) -- Lst of sector identifiers.

    • subsector_ids (Optional *[*List [strarrow-up-right ] ]) -- List of subsector identifiers

    • classification_start_time (Optional [strarrow-up-right ]) -- Start time for the taxonomy assets. ISO-8601 format date. Inclusive by default

    • classification_end_time (Optional [strarrow-up-right ]) -- End time for the taxonomy assets. ISO-8601 format date. Inclusive by default

    • start_inclusive (boolarrow-up-right) -- Flag to define if start timestamp must be included in the timeseries if present. True by default.

    • end_inclusive (boolarrow-up-right) -- Flag to define if end timestamp must be included in the timeseries if present. True by default.

    • page_size (Optional [intarrow-up-right ]) -- Page size for # of assets to return, will default to 100

    • paging_from (Optional [strarrow-up-right ]) -- Which direction to page from "start" or "end". "end" by default

    • version (Optional [strarrow-up-right ]) -- Version to query, default is "latest".

Returns:

  • Datacollection

    • Returns a data collection containing the taxonomy assets

Last updated

Was this helpful?