import_strategy_file#

API documentation for tradeexecutor.strategy.bootstrap.import_strategy_file Python function.

import_strategy_file(path)[source]#

Loads a strategy module and returns its factor function.

All exports will be lowercased for further processing, so we do not care if constant variables are written in upper or lowercase.

Parameters:

path (Path) –

Return type:

StrategyFactory