From d173201a0e9202d02538630f5a3b07caa11c9e54 Mon Sep 17 00:00:00 2001 From: msincenselee Date: Thu, 29 Mar 2018 11:56:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=83=BD=E6=BA=90=E4=BA=A4?= =?UTF-8?q?=E6=98=93=E6=89=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/uiBasicWidget.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vnpy/trader/uiBasicWidget.py b/vnpy/trader/uiBasicWidget.py index 66f163f6..4eedf219 100644 --- a/vnpy/trader/uiBasicWidget.py +++ b/vnpy/trader/uiBasicWidget.py @@ -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)))