StrategyCycleTrigger#
API documentation for tradeexecutor.strategy.strategy_cycle_trigger.StrategyCycleTrigger Python class in Trading Strategy framework.
- class StrategyCycleTrigger[source]#
Bases:
Enum
How do we decide when to run the next live strategy cycle.
- __init__(*args, **kwds)#
Attributes
Offset time.
Trading pair data availability.
- cycle_offset = 'cycle_offset'#
Offset time.
Wait a fixed time after the decision timestamp has been reached before attempting to download new data and execute decisions based on it.
- trading_pair_data_availability = 'trading_pair_data_availability'#
Trading pair data availability.
Poll trading pair data availability endpoint and immediately attempt to execute live trading cycle when new data is available.