Skip to main content

Composer

Run single pipeline from trial. A composer that executes a single pipeline using the model class. Method generated by attrs for class BaseComposer.

Ancestors

  • systematica.portfolio.composers.base.BaseComposer

Methods

run

Execute the pipeline with the given data and symbols. Parameters: Returns:

SignalComposer

Combine trial strategies via concat signals. A composer that combines multiple trial strategies by concatenating their signals. Method generated by attrs for class BaseComposer.

Ancestors

  • systematica.portfolio.composers.base.BaseComposer

Methods

run

Execute and combine multiple strategies by concatenating their signals. Parameters: Returns:

ColumnStackComposer

Combine trial strategies via colum_stack method. A composer that combines multiple trial strategies using the column_stack method from vectorbtpro. Method generated by attrs for class BaseComposer.

Ancestors

  • systematica.portfolio.composers.base.BaseComposer

Methods

run

Execute and combine multiple strategies using column stacking. Parameters: Returns:

PortfolioComposer

Compose portfolio(s) from trials. Method generated by attrs for class PortfolioComposer.

Class variables

  • feature_config: Dict[str, Any]: Configuration for a feature calculation.
  • model_params: Dict[str, Any]: A dictionary of optional keyword arguments needed to compose the portfolio.

Instance variables

  • all_params: Dict[str, Any]: All parameters.

Methods

get_data

Get data. Parameters: Returns:

get_compose_params

Get compose parameters. Returns:

get_symbol_params

Get symbol params. Returns:

run

Execute composers. THe composer strategy is selected based on model_params. Parameters: Returns: