cycle#
API documentation for tradeexecutor.strategy.cycle Python module in Trading Strategy.
Module description#
Strategy cycle definitions.
See Strategy cycle for more information.
Classes#
| Strategy cycle duration options. | 
Functions#
| 
 | Snap to previous available timedelta. | 
| 
 | Snap to next available timedelta. | 
| 
 | Calculate when the trading logic should wake up from the sleep next time. | 
| 
 | Calculate what should the tick time for given real time. |