1 Star 0 Fork 146

ts/ths_trade

forked from 老张/ths_trade 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
app.py 521 Bytes
Copy Edit Raw Blame History
dev authored 2021-04-30 16:23 . Add files via upload
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from tornado.options import define
abs_file = os.path.abspath(sys.argv[0])
ROOT_PATH = abs_file[:abs_file.rfind(os.path.sep)]
define('ROOT_PATH', ROOT_PATH)
sys.path.insert(0, '/trest')
# 把当前目录添加到 sys.path 开头
sys.path.insert(0, ROOT_PATH)
from trest.webserver import run
import applications.Timer_Exec_Trade
if __name__ == "__main__":
try:
run()
except KeyboardInterrupt:
sys.exit(0)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hugging/ths_trade.git
git@gitee.com:hugging/ths_trade.git
hugging
ths_trade
ths_trade
main

Search

23e8dbc6 1850385 7e0993f3 1850385