TriggerType#

API documentation for tradeexecutor.state.trigger.TriggerType Python class in Trading Strategy framework.

class TriggerType[source]#

Bases: Enum

__init__(*args, **kwds)#

Attributes

market_limit

take_profit_partial

Execute take profit and partially close position

take_profit_full

Execute take profit and close position fully

take_profit_partial = 'take_profit_partial'#

Execute take profit and partially close position

This is also used when closing the position with time (e.g. 24h since open)

take_profit_full = 'take_profit_full'#

Execute take profit and close position fully