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

Attributes

unit_testing

This strategy module is part of internal unit test suite

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

hero

The strategy should appear on the front page hero box showcasing strategies

unit_testing = 'unit_testing'#

This strategy module is part of internal unit test suite

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

hero = 'hero'#

The strategy should appear on the front page hero box showcasing strategies