Skip to main content

ArbitrageIndexCV

Breakdown analysis for arbitrage index models, extending WalkForwardCV. Includes methods to compute Kendall’s Tau, determine the best copula, and extract copula parameters. Method generated by attrs for class WalkForwardCV.

Ancestors

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

Methods

get_kendall_tau

Compute Kendall’s Tau correlation coefficient in each split. Parameters: Returns:

get_ecdf

Compute ECDF object in each set. Retrieves processed data splits based on the cross-validation splitter. Parameters: Returns:

get_copula

Identify the best-fitting copula. Parameters: Returns:

get_dependence

Compute the dependence parameter) for the best-fitting copula in each set. Parameters: Returns:

iter_transform_output

Get model output, either transformed or as partial derivatives. Parameters: Returns:

get_marginals

Get model marginals. Parameters: Returns:

get_partial_derivative

Get model partial derivatives. Parameters: Returns:

get_transform

Get model output after applying the transformation. Parameters: Returns:

get_all_metrics

Get all metrics in a single iteration through splits. This method performs one iteration through all walk-forward splits, computing all required metrics simultaneously. This avoids redundant copula fitting that occurs when calling get_kendall_tau(), get_dependence(), get_copula(), get_transform(), etc. separately. Parameters: Returns: Notes: This is the performance-critical method. By computing all metrics in one pass, we reduce complexity from O(6n) to O(n) where n is the number of splits.

run_portfolio

Generate a vectobtpro portfolio object. Parameters: Returns:

run_report

Generate a report DataFrame with model inputs, outputs, and metrics. This optimized version computes all metrics in a single pass through the walk-forward splits, reducing redundant copula fitting. Parameters: Returns: Notes: Performance optimization: This method performs a single iteration through all splits, computing all metrics simultaneously to avoid redundant copula fitting operations.

plot_kendall_tau

Plot Kendall’s Tau values. Parameters: Returns:

plot_copula

Plot the best-fitting copula models. Parameters: Returns:

plot_dependence

Plot the dependence parameter values. Parameters: Returns:

plot_tail_concentration

Container with copula tail concentration figure object. Parameters: Returns:

plot_heatmap

Container with copula heatmap figure object. Parameters: Returns:

plot_surface

Container with copula surface figure object. Parameters: Returns:

plot_contour

Container with copula contour figure object. Parameters: Returns:

plot_all

Container with copula contour, marginal and signals figure object. Parameters: Returns:

ArbitrageIndexRolling

Breakdown analysis for arbitrage index models, extending BaseRollingWalkForward. Includes methods to compute Kendall’s Tau, determine the best copula, and extract copula parameters. Method generated by attrs for class ArbitrageIndexRolling.

Ancestors

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