bootstrap#

tradeexecutor.strategy.bootstrap module.

Module description#

Loading Python strategy modules.

Warning

Deprecated.

See strategy_module instead.

Functions#

bootstrap_strategy(...)

Bootstrap a strategy to the point it can accept its first tick.

import_strategy_file(path)

Loads a strategy module and returns its factor function.

make_factory_from_strategy_mod(mod)

Initialises the strategy script file and hooks it to the executor.