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)))