StrategyTag#

API documentation for tradeexecutor.strategy.tag.StrategyTag Python class in Trading Strategy framework.

class StrategyTag[source]#

Bases: Enum

Tags we can for a strategy.

  • Tags give the context of the strategy and its life cycle for the users and the development team

  • Tags are shown in the strategy explorer and are a sorting criteria for displaying strategies to the user: live > beta > alpha > prototype

  • Some strategy functionality e.g. displaying the risk metrics and additional disclaimer depends on the tags

__init__()#

Attributes

alpha

Testing strategy in forward-testing

beta

Users can deposit

live

The strategy is expected to make profit and has enough history to show this

internal_testing

The strategy is not expected to make profit, but is only running as an infrastructure test

alpha = 'alpha'#

Testing strategy in forward-testing

beta = 'beta'#

Users can deposit

live = 'live'#

The strategy is expected to make profit and has enough history to show this

internal_testing = 'internal_testing'#

The strategy is not expected to make profit, but is only running as an infrastructure test