新增能源交易所

This commit is contained in:
msincenselee 2018-03-29 11:56:46 +08:00
parent 9038225807
commit d173201a0e

View File

@ -735,6 +735,7 @@ class TradingWidget(QtWidgets.QFrame):
EXCHANGE_CZCE,
EXCHANGE_SSE,
EXCHANGE_SZSE,
EXCHANGE_INE,
EXCHANGE_SGE,
EXCHANGE_HKEX,
EXCHANGE_HKFE,
@ -1192,6 +1193,8 @@ class TradingWidget(QtWidgets.QFrame):
if tick.gatewayName:
self.comboGateway.setCurrentIndex(self.gatewayList.index(tick.gatewayName))
self.spinVolume.setValue(1)
except Exception as ex:
self.mainEngine.writeError(u'tradingWg.autoFillSymbol exception:{}'.format(str(ex)))