stable/user_data/strategies/util.py
2022-01-19 22:59:10 -05:00

12 lines
398 B
Python

import subprocess
IS_BACKTEST = False
EXECUTION_PATH = "/root/workspace2/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)