TwinSpread
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.BaseSignalabc.ABC
Static methods
run
| Name | Type | Default | Description |
|---|---|---|---|
model_output | tp.Array | -- | The model output containing the spread values. |
long_entries | float | -- | The threshold for long entry signals. |
long_exits | float | -- | The threshold for long exit signals. |
short_entries | float | -- | The threshold for short entry signals. |
short_exits | float | -- | The threshold for short exit signals. |
clean | bool | to | True Clean signals. Defaults to True. |
| Type | Description |
|---|---|
Signals | The generated trading signals based on the twin spread strategy. |

