Skip to content

numeraire 0.2.1

Choose a tag to compare

@BrightBlu BrightBlu released this 06 Jul 05:15
fe3687d

Ecosystem release. The plotting and data companion packages are now on PyPI, and this release adds convenience extras to pull them in — plus the post-0.2.0 API work (all backward-compatible; old names remain as deprecated aliases for one release).

Added

  • Ecosystem extraspip install "numeraire[graphics]" (pulls numeraire-graphics), "numeraire[data]" (pulls numeraire-dataset), and "numeraire[all]". Plain pip install numeraire stays the minimal spine.
  • backtest(...) — a discoverable dispatching entry point over the typed drivers backtest_weights/_forecast/_panel/_pricing/_pricing_in_sample.
  • Risk-adjusted evaluators (Treynor, Information Ratio, M², Sortino), ICEvaluator, ExposureEvaluator, and fama_macbeth (two-pass, Shanken + Newey-West).

Changed

  • Renamed for a clearer register (old names remain as deprecated aliases emitting DeprecationWarning): walk_forward*backtest_*, adjust_testsadjust_pvalues, clark_westclark_west_test, make_sortssort_portfolios, OOSR2EvaluatorOutOfSampleR2Evaluator.

Fixed

  • Weights/forecast backtests align model output to the view's asset order by label before scoring (was positional), preventing silent mis-scoring; clear errors on a missing/misused splitter.