DataRangeMode#

API documentation for 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__(*args, **kwds)#

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.