save_disk_multiprocess_strategy_universe#

API documentation for tradeexecutor.backtest.grid_search.save_disk_multiprocess_strategy_universe Python function.

save_disk_multiprocess_strategy_universe(strategy_universe)[source]#

Prepare handing over the strategy universe for the child processes.

For joblib Loki backend that lacks process initialisers.

See https://github.com/joblib/joblib/pull/1525

There is no clean up, this is just a workaround of joblib’s shortcomings.

Parameters:

strategy_universe (TradingStrategyUniverse) –