restructured
This commit is contained in:
parent
f929dce7e2
commit
8fb82dd215
@ -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)
|
Loading…
Reference in New Issue
Block a user