while 1:
run_ticker = 'python ticker.py'
run_depth = 'python depth.py'
run_depth_pct = 'python depth_pct.py'
run_trade = 'python trade.py'
os.system(run_depth_pct)
os.execvp(sys.executable, [sys.executable]+sys.argv)
def restart():
try:
fun()
except EOFError as e:
print(e)
finally:
restart()
欢迎光临 大内高手社区 (https://bbs.tedu.cn/) | Powered by Discuz! X3.4 |