RegimeRegion#
API documentation for tradeexecutor.analysis.regime.RegimeRegion Python class in Trading Strategy framework.
- class RegimeRegion[source]#
Bases:
object
One regime colouring region for the charts.
- __init__(start, end, regime)#
Methods
__init__
(start, end, regime)get_duration
()is_predition_correct
(close[, ...])Check if the region matches actual data.
Attributes
start
end
regime