Active Premium
The Active Premium is the difference between the annualized return of an asset and that of its benchmark over the whole date range, the annualized active return of Bacon (2008). Where the Alpha compares the returns of each period, the Active Premium compares the growth rates over the full history in one number per asset, so it says by how much a year the asset grew faster or slower than the benchmark.
The formula for the Active Premium first annualizes the N daily returns \(R_{i}\) of each series, with q the number of returns in a year:
\[\text{Annualized Return} = \prod_{i=1}^{N} (1 + R_{i})^{q/N} - 1\]It then takes the difference of the annualized returns of the asset and the benchmark:
\[\text{Active Premium} = \text{Annualized Return}_{a} - \text{Annualized Return}_{m}\]Where q is 252 for a stock, or 365 for a ticker that trades on weekends such as a cryptocurrency. As it compounds the returns, it is not the annualized average of the Alpha of each period: an asset can beat its benchmark in most years and still show a negative Active Premium after one large loss.
Alpha is the part of a return that the benchmark does not explain: what an investment earned above or below what holding the benchmark would have given. Investors pay active managers for it, as anyone can hold the benchmark cheaply, so it is the usual measure of whether stock selection or timing added value. The measures differ in what they take as the return the investment should have earned: the benchmark’s own return, or the return the Capital Asset Pricing Model (CAPM) expects for the investment’s market risk. A positive Alpha means the investment outperformed on that measure, a negative one that it underperformed. One period of outperformance is weak evidence of skill, as Alpha is noisy, so look at it over several periods or next to its risk (the Appraisal Ratio and the Information Ratio scale it by that).
See definition: Alpha (finance) (Wikipedia) and https://en.wikipedia.org/wiki/Jensen%27s_alpha
Also known as: annualized active return, annualized alpha, annualized excess return.
In the Finance Toolkit this is get_alpha with method="annualized", the same function as Alpha.
Example · COST, WMT, TGT · 2020 to 2025
Install the Finance Toolkit with pip install financetoolkit -U, then call get_alpha:
from financetoolkit import Toolkit
toolkit = Toolkit(
["COST", "WMT", "TGT"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2020-01-01",
end_date="2025-12-31",
)
toolkit.performance.get_alpha(method="annualized")
| Parameter | Type | Description | Example |
|---|---|---|---|
period | str | The period to use for the calculation. Options are: “daily”, “weekly”, “monthly”, “quarterly”, “yearly”. Defaults to “quarterly” if the Toolkit is initialised with quarterly=True, otherwise “yearly”. | "quarterly" |
show_full_results | bool | Whether to show the actual and benchmark returns next to the Alpha. Only used when method=”standard” or “annualized”. Defaults to False. | True |
rolling | int | The rolling window size to use for the calculation, in periods, across the full return history instead of per period. With the standard method Alpha is the rolling mean excess return over this many periods; with the Jensen method it is the window of the Beta, estimated from the period returns of the last rolling periods instead of from the daily returns within each period. Not used with the annualized method. At least 2. Defaults to None. | 4 |
method | str | The Alpha. Options are: “standard” (Alpha, the difference of the returns of each period), “annualized” (Active Premium, the difference of the annualized returns over the whole date range, one value per ticker; period and rolling are then not used), “jensen” (Jensen Alpha, the return of each period above the CAPM expected return). Defaults to “standard”. | "standard" |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise). | 2 |
growth | bool | Whether to calculate the growth of the ratios. Defaults to False. | True |
lag | int | list[int] | The lag to use for the growth calculation. Defaults to 1. | 4 |
standardize | bool | Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False. | True |
transform | str | list[str] | None | Time series steps applied in order, such as “sma:12” (moving average), “ema:12”, “std:12”, “zscore:60”, “percentile:120”, “yoy”, “pct_change:3,annualize:3”, “log”, “diff”, “cumsum” or “hp_trend” and “hp_cycle” (Hodrick-Prescott), before growth. A window needs that many periods of history, so the first periods can be empty. Defaults to None. | None |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |
Which returns:
| Item | 0 |
|---|---|
| COST | 0.0627 |
| WMT | 0.0568 |
| TGT | -0.1645 |
3 rows
References
- Paper Bacon, C.R. (2008). “Practical Portfolio Performance Measurement and Attribution.” 2nd edition, John Wiley & Sons.
- Library Referenced against PerformanceAnalytics (R)’s Return.annualized (Active Premium)
- Library Shares similar logic as empyrical’s annual_return (Active Premium)
- Library Shares similar logic as PerformanceAnalytics (R)’s ActivePremium (Active Premium)