Skip to main content

ArbitrageIndexReport

ArbitrageIndexReport(
    data: vectorbtpro.data.base.Data,
    s1: str,
    s2: str,
    model: ~BaseStatArb,
    use_close: bool = True,
    freq: str = 'auto',
)
Breakdown analysis for arbitrage index models, extending BaseModelBreakdownCV. Includes methods to compute Kendall’s Tau, determine the best copula, and extract copula parameters. Method generated by attrs for class BaseReportCV.

Ancestors

  • systematica.api.base.BaseReportCV
  • systematica.api.base.BaseReportMixin
  • abc.ABC

Methods

get_kendall_tau

get_kendall_tau(
    self,
) ‑> pandas.core.series.Series
Compute Kendall’s Tau correlation coefficient for the training data in each split. Returns:
TypeDescription
pd.SeriesSeries containing Kendall’s Tau values indexed by the test set index.

get_best_copula

get_best_copula(
    self,
) ‑> pandas.core.series.Series
Identify the best-fitting copula for each training dataset in the splits. Returns:
TypeDescription
pd.SeriesSeries containing the names of the best-fitting copula models, indexed by the test set index.

get_theta

get_theta(
    self,
) ‑> pandas.core.series.Series
Compute the copula parameter (theta) for the best-fitting copula in each training dataset. Returns:
TypeDescription
pd.SeriesSeries containing the theta parameter values divided by 10, indexed by the test set index.

plot_kendall_tau

plot_kendall_tau(
    self,
    fig: vectorbtpro.utils.figure.FigureWidget = None,
    **layout_kwargs,
) ‑> vectorbtpro.utils.figure.FigureWidget
Plot Kendall’s Tau values. Parameters:
NameTypeDefaultDescription
figvbt.FigureWidgetNoneExisting figure to update, by default None.
layout_kwargstp.Kwargs--Additional layout keyword arguments for customization.
Returns:
TypeDescription
vbt.FigureWidgetThe figure displaying Kendall’s Tau values.

plot_best_copula

plot_best_copula(
    self,
    fig: vectorbtpro.utils.figure.FigureWidget = None,
    **layout_kwargs,
) ‑> vectorbtpro.utils.figure.FigureWidget
Plot the best-fitting copula models. Parameters:
NameTypeDefaultDescription
figvbt.FigureWidgetNoneExisting figure to update, by default None.
layout_kwargstp.Kwargs--Additional layout keyword arguments for customization.
Returns:
TypeDescription
vbt.FigureWidgetThe figure displaying the best-fitting copula models.

plot_theta

plot_theta(
    self,
    fig: vectorbtpro.utils.figure.FigureWidget = None,
    **layout_kwargs,
) ‑> vectorbtpro.utils.figure.FigureWidget
Plot the theta parameter values divided by 10. Parameters:
NameTypeDefaultDescription
figvbt.FigureWidgetNoneExisting figure to update, by default None.
layout_kwargstp.Kwargs--Additional layout keyword arguments for customization.
Returns:
TypeDescription
vbt.FigureWidgetThe figure displaying theta values.