From 34aea171662631e45f9741349366ae247b6fd1c6 Mon Sep 17 00:00:00 2001 From: Bemhreth Date: Fri, 21 Jan 2022 10:46:38 +0300 Subject: [PATCH] WORKSPACE_PATH implemented --- user_data/strategies/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)