okama.Rate.describe

Rate.describe(years=(1, 5, 10))

Generate descriptive statistics for YTD and given periods. Statistics includes:

  • arithmetic mean

  • median

  • max and min values

Parameters:
yearstuple of (int,), default (1, 5, 10)

List of periods for the statistics.

Returns:
DataFrame

Table of descriptive statistics for a list of assets.