Skip to main content

TwinSpread

Generate trading signals based on twin spread strategy. This class implements a twin spread-based signal generation where long and short positions are determined based on the relationship between two indicators. As opposed to Spread, both exit condition should be met. For example, both assets should cross their respective threshold at the same time. Method generated by attrs for class TwinSpread.

Ancestors

  • systematica.signals.base.BaseSignal
  • abc.ABC

Static methods

run

Run the twin spread signal generation. Parameters: Returns: