bayesline.api.equity.PortfolioHierarchyApi.get_id_types

bayesline.api.equity.PortfolioHierarchyApi.get_id_types#

abstract PortfolioHierarchyApi.get_id_types() dict[str, list[Literal['bayesid', 'ticker', 'composite_figi', 'cik', 'cusip8', 'cusip9', 'isin', 'sedol6', 'sedol7', 'proxy', 'name']]]#

Returns#

dict[str, list[IdType]]:

The available ID types that at least a portion of assets can be mapped to for each portfolio. If a portfolio has a benchmark then the available id types are those that are available for both the portfolio and the benchmark.