调试
This commit is contained in:
+4
-7
@@ -1,6 +1,6 @@
|
||||
# coding:utf-8
|
||||
import sys
|
||||
sys.stdout.reconfigure(encoding='utf-8') # 设置标准输出编码为UTF-8
|
||||
sys.stdout.reconfigure(encoding='utf-8') # 设置标准输出编码为UTF-8 # type: ignore
|
||||
from core.main_controller import ctrl
|
||||
import core.util as util
|
||||
import sfgrid_constants as sdConstants
|
||||
@@ -60,10 +60,7 @@ def help():
|
||||
print(" stockTradeCtrl(index) - 获取标的交易控制器")
|
||||
print(" ctrl - 访问控制器实例")
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = ui.ProfessionalTradeUI(trade_targets=ctrl.instrument_pool)
|
||||
app.run()
|
||||
# InitUI()
|
||||
# Loop()
|
||||
# app = ui.ProfessionalTradeUI(trade_targets=ctrl.instrument_pool)
|
||||
# app.run()
|
||||
interact()
|
||||
|
||||
Reference in New Issue
Block a user