Prospect Ratio

Calculate the Prospect Ratio of an investment portfolio or asset’s returns, a Sortino-type ratio in which losses weigh more heavily than gains, following the loss aversion of prospect theory: people feel a loss about 2.25 times as strongly as a gain of the same size.

The formula is as follows:

\[\text{Prospect Ratio} = \frac{\frac{1}{N} \cdot \sum(\max(\text{Returns},\; 0) + \lambda \cdot \min(\text{Returns},\; 0)) - \text{MAR}}{\text{Downside Deviation}}\] \[\text{Downside Deviation} = \sqrt{\frac{1}{N} \cdot \sum(\min(\text{Returns} - \text{MAR},\; 0)^{2})}\]

Where N is the number of daily returns within the period, MAR the minimum acceptable return per day and \(\lambda\) the loss aversion (2.25, Tversky and Kahneman, 1992). Like the Sortino ratio it is a per-observation ratio, not annualized.

Example · JPM, BAC, WFC · 2021 to 2025

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

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["JPM", "BAC", "WFC"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.performance.get_prospect_ratio()

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

What was the prospect ratio of JPMorgan Chase, Bank of America and Wells Fargo in each year from 2021 to 2025?

Which returns:

Parameters

get_prospect_ratio accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe 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”."weekly"
within_periodboolWhether to calculate the ratio from the daily returns within each period or from the period returns of the entirety of all periods, one value per ticker. Defaults to True.True
minimum_acceptable_returnfloatThe minimum acceptable return (MAR) per daily return (per period return with within_period=False). Defaults to 0.0.0.001
loss_aversionfloatThe weight \(\lambda\) of the losses relative to the gains. Defaults to 2.25.2.25
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 ratios. 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
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 Watanabe, Y. (2006). “Is Sharpe Ratio Still Effective?” Journal of Performance Measurement, 11(1), 55-66.
  • Paper Tversky, A., & Kahneman, D. (1992). “Advances in Prospect Theory: Cumulative Representation of Uncertainty.” Journal of Risk and Uncertainty, 5(4), 297-323.
  • Paper Bacon, C.R. (2008). “Practical Portfolio Performance Measurement and Attribution.” 2nd edition, John Wiley & Sons, p. 100.
  • Library Referenced against PerformanceAnalytics (R)’s ProspectRatio
Share