bayesline.api.equity.AsyncFactorModelLoaderApi#
- class bayesline.api.equity.AsyncFactorModelLoaderApi#
Provide access to factor risk model loading and registry operations.
A factor model loader manages the registry of factor risk models and provides access to existing models.
- __init__()#
Methods
__init__()list_riskmodels([risk_dataset])List all risk models in the registry.
load(ref_or_settings, *args, **kwargs)Load an API instance from settings or reference.
Attributes
settingsGet the settings registry.
- abstract async list_riskmodels(risk_dataset: str | None = None) list[FactorRiskModelMetadata]#
List all risk models in the registry.
Parameters#
- risk_datasetstr | None, default=None
The risk dataset to filter by. If not given, all risk models are returned.
Returns#
- list[FactorRiskModelMetadata]
List of all risk models in the registry.