diff --git a/user_data/strategies/util.py b/user_data/strategies/util.py index e3da2a89f..00ce87f48 100644 --- a/user_data/strategies/util.py +++ b/user_data/strategies/util.py @@ -6,7 +6,7 @@ def execute(mode, coin, brain): if Config.IS_PARRALER_EXECUTION: threading.Thread(target=_perform_execute, args=(mode, coin, brain)).start() else: - subprocess.call("python3 "+Config.EXECUTION_PATH+"executeer.py " + mode + " " + coin + " " + brain, shell=True) + _perform_execute(mode, coin, brain) def _perform_execute(mode, coin, brain): subprocess.call("python3 "+Config.EXECUTION_PATH+"executeer.py " + mode + " " + coin + " " + brain, shell=True) @@ -20,6 +20,4 @@ def back_test(date_time, coin, brain): if Config.IS_PARRALER_EXECUTION: threading.Thread(target=_perform_back_test, args=(coin, brain, date_time)).start() else: - date = str(date_time) - date = date.replace(" ", "#") - subprocess.call("python3 "+ Config.EXECUTION_PATH + "back_tester.py " + date + " " + coin + " " + brain + " 0.45 3", shell=True) + _perform_back_test(date_time, coin, brain) \ No newline at end of file