Skip to main content

RollingWalkForward

Analyzes a statistical arbitrage model using rolling metrics. Method generated by attrs for class RollingWalkForward.

Ancestors

  • systematica.walk_forward.base.BaseWalkForward
  • abc.ABC
  • systematica.generic.base.Model
  • systematica.generic.base.Feature

Descendants

  • systematica.api.analytics.arbitrage_index.ArbitrageIndexRolling
  • systematica.api.analytics.meta_model.MetaModelRolling
  • systematica.api.analytics.momentum.AverageMomentumFactorRolling
  • systematica.api.analytics.momentum.MomentumFactorRolling
  • systematica.api.analytics.ou_process.OUProcessRolling
  • systematica.api.analytics.volatility.VolatilityFactorRolling
  • systematica.api.analytics.volume_profile.VolumeProfileFactorRolling

Static methods

check_is_valid

Validates that the model has the necessary parameters for the strategy. Specifically, the model must have either:
  • Both window and minp attributes, or
  • Both train_window and splitter (set to *_rolling).
Raises:

Instance variables

  • window: int: Window size.
  • minp: int | None: Minimum number of observations required.
  • all_portfolio_metrics: List[str]: Get available rolling metrics.

Methods

get_portfolio_metrics

Computes portfolio performance metrics on a rolling basis. Parameters: Returns: