[Mod]运行环境升级到Anaconda 5.1.0
This commit is contained in:
parent
926aad586a
commit
277d2b1287
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user