numeraire.core.evaluators.SharpeEvaluator#
- class numeraire.core.evaluators.SharpeEvaluator(periods_per_year: int | None = None)[source]#
Bases:
objectAnnualized Sharpe ratio of the realized strategy returns (the timing headline).
periods_per_yearscales the per-period ratio bysqrt(periods_per_year). Leave itNone(the default) to derive it from the output’s decision-calendar frequency; pass an explicit value for an irregular or overlapping (multi-period-horizon) output, where the framework refuses to guess (see_resolve_periods_per_year()).Methods
__init__([periods_per_year])evaluate(oos_output)Attributes
requires