stable/user_data/strategies/util.py
2022-01-19 23:09:15 -05:00

12 lines
397 B
Python

import subprocess
IS_BACKTEST = False
EXECUTION_PATH = "/root/workspace/execution/"
def launcher(mode, coin, brain):
subprocess.call("python3 "+EXECUTION_PATH+"launcher.py " + mode + " " + coin + " " + brain, shell=True)
def back_tester(date_time, coin, brain):
subprocess.call("python3 "+EXECUTION_PATH+"back_tester.py " + date_time + " " + coin + " " + brain + "0.45 3", shell=True)