Skewness-Kurtosis Ratio

Calculate the Skewness-Kurtosis Ratio: how lopsided the returns of an investment portfolio or asset are relative to how heavy their tails are, higher being better.

The Skewness-Kurtosis Ratio (Bacon 2008) divides the skewness by the kurtosis, combining the two shape statistics an investor in fat-tailed assets cares about into one number: a positive skew is attractive and fat tails are not, so a higher ratio is better. It is used to rank funds whose returns are far from normal, where the Sharpe Ratio’s reliance on the standard deviation misleads.

The formula is as follows:

\[\text{Skewness-Kurtosis Ratio} = \frac{\text{Skewness}}{\text{Kurtosis}}\]

Where the Skewness is that of get_skewness and the Kurtosis that of get_kurtosis, Pearson’s kurtosis (3 for a normal distribution), both the bias-adjusted sample estimates.

Also known as: skewness to kurtosis ratio.

Example · META, GOOGL, MSFT · 2021 to 2025

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

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["META", "GOOGL", "MSFT"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.risk.get_skewness_kurtosis_ratio(period="yearly", within_period=True)

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

What was the skewness-kurtosis ratio of the daily returns of Meta, Alphabet, Microsoft and the S&P 500 in each year from 2021 to 2025?

Which returns:

Parameters

get_skewness_kurtosis_ratio accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe data frequency for returns. Options are: “daily”, “weekly”, “monthly”, “quarterly”, “yearly”. Defaults to “daily”."weekly"
within_periodboolWhether to calculate the Skewness-Kurtosis Ratio within the specified period or for the entire period. Thus whether to look at the Skewness-Kurtosis Ratio within a specific year (if period = ‘yearly’) or look at the entirety of all years. Defaults to False. Note that this requires intraday data when period = ‘daily’, since a single day only nests observations when intraday data was fetched.True
rollingintThe rolling window size to use for the calculation. If set, the Skewness-Kurtosis Ratio is calculated over a rolling window of this many periods across the full return history instead of per period. At least 4. Defaults to None.4
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 Skewness-Kurtosis Ratio values over time. 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 Bacon, C.R. (2008). “Practical Portfolio Performance Measurement and Attribution.” John Wiley & Sons, chapter 4.
  • Library Shares similar logic as PerformanceAnalytics (R)’s SkewnessKurtosisRatio
Share