bayesline.api.equity.BaseAssetTearsheet#
- model BaseAssetTearsheet#
What every report’s tearsheet carries: its subject and its date axis.
portfolio_pathis the portfolio the subject was taken under, as a list to account for fund-of-funds structures, and is empty when the whole report was taken. The same asset yields a different tearsheet under each portfolio, so a report’s metrics only mean something alongside it.A tearsheet may roll up across every asset the portfolio holds, in which case its subject is the portfolio rather than an asset:
asset_id_typeis"portfolio_id",asset_idandasset_nameare the portfolio, and the input identifiers – an asset-only notion – are null.datesis the axis a report’s metrics are given over. A metric requested without history holds a single value, the one at the last of those dates, so a tearsheet asked for no history at all is every metric at its latest date.