qis.ReportingFrequency

class qis.ReportingFrequency(*values)[source]

Bases: Enum

the grid a factsheet is computed on.

Selecting this recalibrates the whole report, not just the x axis: rolling windows, EWM spans, regression frequency, regime classification and annualisation are all derived from it, so the same portfolio reported daily and monthly yields different volatilities and Sharpe ratios by construction rather than by error. Each panel states the frequency it was computed at. See qis/docs/reporting_frequencies.md.

The value of each member is the pandas resampling rule.

Variables:
  • DAILY – business days, ‘B’. Windows and EWM spans count 260 periods per year; return statistics annualise with get_annualization_factor('B'), which is 252

  • WEEKLY – Wednesdays, ‘W-WED’, 52 per year

  • MONTHLY – month ends, ‘ME’, 12 per year

  • QUARTERLY – quarter ends, ‘QE’, 4 per year

__init__(*args, **kwds)

Attributes

DAILY = 'B'
WEEKLY = 'W-WED'
MONTHLY = 'ME'
QUARTERLY = 'QE'