Sensitivity to common return patterns
factor_exposureHow a portfolio's daily moves line up with four common patterns: the market, small versus large, value versus growth, momentum. Out: each sensitivity, whether it can be told from zero, and how much of the movement the four explain. Typical questions: 'Am I a growth investor without knowing it?'; 'What style is my portfolio really exposed to?'; 'Is this tilted to small caps?'. Instead: for the number of independent bets, portfolio_structure. It does not recommend, predict or calculate tax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Currency code every figure is expressed in: USD, EUR, GBP, CAD… Default USD. | |
| units | No | What the holdings' numbers are: 'money' (amounts in the base currency) or 'weights' (percentages or fractions). Omitted: holdings adding up to 1 or 100 are read as percentages, anything else as money, and the answer says so. | |
| holdings | Yes | What is held: {ticker: number}, 1 to 100 holdings. Weights in any scale (60/20/20 or 0.6/0.2/0.2) or money amounts in the base currency (60000/20000/20000): `units` says which; without it, holdings adding up to 1 or 100 are read as percentages, anything else as money, which makes the falls come out in money. Tickers as the exchange lists them (VOO, VWCE.DE, EQQQ.DE, XAW.TO; 'CASH.USD' for cash). Example: {"VTI": 60, "VXUS": 20, "BND": 20}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Where the prices came from and what was missing or repaired. | |
| betas | No | Sensitivity per factor: mkt_rf (market), smb (small minus big), hml (value minus growth), mom (momentum). | |
| model | No | Factor model used. | |
| years | No | Years of history used. | |
| _fence | Yes | What these figures are and are not: descriptive, no forecast, no advice. Repeat its sense when presenting the result. | |
| t_stats | No | t-statistic per factor; below about 2 in size, not distinguishable from zero. | |
| poor_fit | No | True when the factors explain little. | |
| frequency | No | Data frequency. | |
| r_squared | No | Share of the daily movement the factors explain, 0 to 1. | |
| fit_caveat | No | Why the fit is poor, when it is. | |
| alpha_annual | No | Return not explained by the factors, per year (estimated, not a skill measure). |