[Mod]运行环境升级到Anaconda 5.1.0

This commit is contained in:
vn.py 2018-05-27 23:58:19 +08:00
parent 926aad586a
commit 277d2b1287
2 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,7 @@ if system == 'Linux':
from vnpy.trader.gateway import xtpGateway
elif system == 'Windows':
from vnpy.trader.gateway import (femasGateway, xspeedGateway,
futuGateway, secGateway)
secGateway)
# 加载上层应用
from vnpy.trader.app import (riskManager, ctaStrategy, spreadTrading)
@ -54,7 +54,6 @@ def main():
me.addGateway(femasGateway)
me.addGateway(xspeedGateway)
me.addGateway(secGateway)
me.addGateway(futuGateway)
if system == 'Linux':
me.addGateway(xtpGateway)

View File

@ -30,7 +30,7 @@ def createQApp():
if globalSetting['darkStyle']:
try:
import qdarkstyle
qApp.setStyleSheet(qdarkstyle.load_stylesheet(pyside=False))
qApp.setStyleSheet(qdarkstyle.load_stylesheet_from_environment())
except ImportError:
pass