[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
|
from vnpy.trader.gateway import xtpGateway
|
||||||
elif system == 'Windows':
|
elif system == 'Windows':
|
||||||
from vnpy.trader.gateway import (femasGateway, xspeedGateway,
|
from vnpy.trader.gateway import (femasGateway, xspeedGateway,
|
||||||
futuGateway, secGateway)
|
secGateway)
|
||||||
|
|
||||||
# 加载上层应用
|
# 加载上层应用
|
||||||
from vnpy.trader.app import (riskManager, ctaStrategy, spreadTrading)
|
from vnpy.trader.app import (riskManager, ctaStrategy, spreadTrading)
|
||||||
@ -54,7 +54,6 @@ def main():
|
|||||||
me.addGateway(femasGateway)
|
me.addGateway(femasGateway)
|
||||||
me.addGateway(xspeedGateway)
|
me.addGateway(xspeedGateway)
|
||||||
me.addGateway(secGateway)
|
me.addGateway(secGateway)
|
||||||
me.addGateway(futuGateway)
|
|
||||||
|
|
||||||
if system == 'Linux':
|
if system == 'Linux':
|
||||||
me.addGateway(xtpGateway)
|
me.addGateway(xtpGateway)
|
||||||
|
@ -30,7 +30,7 @@ def createQApp():
|
|||||||
if globalSetting['darkStyle']:
|
if globalSetting['darkStyle']:
|
||||||
try:
|
try:
|
||||||
import qdarkstyle
|
import qdarkstyle
|
||||||
qApp.setStyleSheet(qdarkstyle.load_stylesheet(pyside=False))
|
qApp.setStyleSheet(qdarkstyle.load_stylesheet_from_environment())
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user