From e8c4a3636adef13c88aae7f5cfb680d1cc183bed Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Sun, 31 Dec 2017 15:07:41 -0200 Subject: [PATCH] Forgot one arg --- catalyst/utils/run_algo.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/catalyst/utils/run_algo.py b/catalyst/utils/run_algo.py index 32bd801e..d0129f28 100644 --- a/catalyst/utils/run_algo.py +++ b/catalyst/utils/run_algo.py @@ -271,8 +271,9 @@ def _build_live_algo_and_data(sim_params, exchanges, env, open_calendar, def _build_backtest_algo_and_data( - exchanges, bundle, environ, bundle_timestamp, open_calendar, start, - end, namespace, choose_loader, sim_params, algorithm_class_kwargs): + exchanges, bundle, env, environ, bundle_timestamp, open_calendar, + start, end, namespace, choose_loader, sim_params, + algorithm_class_kwargs): if exchanges: # Removed the existing Poloniex fork to keep things simple # We can add back the complexity if required. @@ -380,8 +381,9 @@ def _build_algo_and_data(handle_data, initialize, before_trading_start, algorithm_class_kwargs) else: return _build_backtest_algo_and_data( - exchanges, bundle, environ, bundle_timestamp, open_calendar, start, - end, namespace, choose_loader, sim_params, algorithm_class_kwargs) + exchanges, bundle, env, environ, bundle_timestamp, open_calendar, + start, end, namespace, choose_loader, sim_params, + algorithm_class_kwargs) def _run(handle_data, initialize, before_trading_start, analyze, algofile,