Maximum Daily Return

Calculate MAX, the largest daily return of each ticker within each period (or the average of the few largest): how lottery-like a stock is, the characteristic of Bali, Cakici and Whitelaw (2011).

Investors who like lottery-like payoffs overpay for stocks with extreme positive daily returns, so the stocks with the highest MAX in a month earned lower returns in the next month: about 1% a month less for the decile with the highest MAX than for the one with the lowest in the paper, a result that held after controlling for size, value, momentum, short-term reversal, liquidity and idiosyncratic volatility.

The formula is as follows:

\[\text{MAX}(\texttt{top}) = \frac{\sum_{k=1}^{\texttt{top}} R_{k}}{\texttt{top}}\]

Where \(R_{k}\) is the k-th largest daily return within the period.

With the default top of 1 it is the largest daily return of the period; the paper also uses the average of the five largest daily returns of the month as a robustness check.

Also known as: MAX, MAX effect, lottery demand, maximum daily return, extreme returns.

Example · AAPL, TSLA, KO · 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_maximum_daily_return:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["AAPL", "TSLA", "KO"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2025-01-01",
    end_date="2025-06-30",
)

toolkit.performance.get_maximum_daily_return()

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

What was the largest daily return of Apple, Tesla and Coca-Cola in each month of the first half of 2025?

Which returns:

Parameters

get_maximum_daily_return accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe period the largest daily returns are taken within. Options are: “weekly”, “monthly”, “quarterly”, “yearly”. Defaults to “monthly”, as in the paper."weekly"
topintThe number of largest daily returns averaged. Defaults to 1.1
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise).2
growthboolWhether to calculate the growth of the values. Defaults to False.True
lagint | list[int]The lag to use for the growth calculation. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
transformstr | list[str] | NoneTime 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_columnsstr | list[str] | NoneThe 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

References

  • Paper Bali, T.G., Cakici, N. and Whitelaw, R.F. (2011). “Maxing Out: Stocks as Lotteries and the Cross-Section of Expected Returns.” Journal of Financial Economics, 99(2), 427-446.
Share