add _perform_launcher
This commit is contained in:
parent
10430d9aa5
commit
a66a535600
@ -1,10 +1,15 @@
|
|||||||
import subprocess
|
import subprocess
|
||||||
|
import threading
|
||||||
|
|
||||||
IS_BACKTEST = False
|
IS_BACKTEST = False
|
||||||
|
|
||||||
EXECUTION_PATH = "/root/workspace/execution/"
|
EXECUTION_PATH = "/root/workspace/execution/"
|
||||||
|
|
||||||
|
|
||||||
def launcher(mode, coin, brain):
|
def launcher(mode, coin, brain):
|
||||||
|
threading.Thread(target=launcher, args=(mode, coin, brain)).start()
|
||||||
|
|
||||||
|
def _perform_launcher(mode, coin, brain):
|
||||||
subprocess.call("python3 "+EXECUTION_PATH+"launcher.py " + mode + " " + coin + " " + brain, shell=True)
|
subprocess.call("python3 "+EXECUTION_PATH+"launcher.py " + mode + " " + coin + " " + brain, shell=True)
|
||||||
|
|
||||||
def back_tester(date_time, coin, brain):
|
def back_tester(date_time, coin, brain):
|
||||||
|
Loading…
Reference in New Issue
Block a user