The numbered report
portfolio_reportThe written report on one portfolio, with every figure numbered F1, F2... beside the method and the window behind it. For a reader who wants something to quote or keep; measure_portfolio returns this same report together with structure, look-through and crises. Amounts make the report speak in money, in the base currency (default USD). The window starts when the youngest holding starts, and the report says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Currency every figure is expressed in (USD, EUR, GBP, CAD…). Default USD. | |
| holdings | Yes | What is held: {ticker: weight or amount}. Weights need not sum to one; amounts in the base currency are also accepted (then the crises are shown in money). 1 to 100 holdings. Tickers as the exchange lists them (VOO, VWCE.DE, XAW.TO; 'CASH.USD' for cash). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Window end. | |
| facts | No | One entry per figure: id, label, value, method, window, limit. | |
| start | No | Window start. | |
| _fence | Yes | What these figures are and are not: descriptive, no forecast, no advice. Repeat its sense when presenting the result. | |
| receipt | No | A short plain-text receipt of the same figures. | |
| markdown | No | The report as markdown, figures numbered F1, F2… |