bayesline.api.equity.AsyncPortfolioLoaderApi#

class bayesline.api.equity.AsyncPortfolioLoaderApi#

Load asynchronous report-backed portfolios and manage their sources.

__init__()#

Methods

__init__()

get_portfolio_catalog()

load(ref_or_settings, *args, **kwargs)

Load an API instance from settings or reference.

resolve_selection(enabled_portfolios)

validate(settings)

Validate settings against the menu for its dataset.

Attributes

organizer_settings

settings

Get the settings registry.

uploader

abstract property uploader: AsyncDataTypeUploaderApi#
abstract property organizer_settings: AsyncTypedSettingsRegistry[PortfolioOrganizerSettings, PortfolioOrganizerSettingsMenu]#
abstract async get_portfolio_catalog() PortfolioCatalog#
abstract async resolve_selection(enabled_portfolios: dict[str, str]) PortfolioSelectionResolution#