Regime#
API documentation for tradeexecutor.analysis.regime.Regime Python class in Trading Strategy framework.
- class Regime[source]#
Bases:
Enum
Possible market regimes.
The content of signal for
visualise_market_regime_filter()
- __init__()#
Attributes
We are in a bull market (trends up)
We are in a bear market (trends down)
We are in a sideways market (no trends)
- bull = 1#
We are in a bull market (trends up)
- bear = -1#
We are in a bear market (trends down)
- crab = 0#
We are in a sideways market (no trends)