diff --git a/user_data/strategies/util.py b/user_data/strategies/util.py index 6300cf7c0..d66d26e39 100644 --- a/user_data/strategies/util.py +++ b/user_data/strategies/util.py @@ -1,8 +1,8 @@ import subprocess IS_BACKTEST = False - -EXECUTION_PATH = "/root/workspace2/execution/" +WORKSPACE_PATH = "workspace2" if IS_BACKTEST else "workspace" +EXECUTION_PATH = "/root/" + WORKSPACE_PATH + "/execution/" def launcher(mode, coin, brain): subprocess.call("python3 "+EXECUTION_PATH+"launcher.py " + mode + " " + coin + " " + brain, shell=True)