DataRangeMode#

tradeexecutor.strategy.reverse_universe.DataRangeMode Python class in Trading Strategy framework.

class DataRangeMode[source]#

Bases: Enum

How to get the candle data range from a trading state.

__init__()#

Attributes

trades

Use the first and last executed rade

indicators

Use the technical indicator range.

trades = 'trades'#

Use the first and last executed rade

indicators = 'indicators'#

Use the technical indicator range.

State updates its technical indicator plots even even if the strategy is not making any trades.