diff --git a/install.bat b/install.bat index 1e3c6227..f8af121f 100644 --- a/install.bat +++ b/install.bat @@ -4,8 +4,9 @@ pip install -r requirements.txt ::Install Ta-Lib conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes -conda install -c quantopian ta-lib=0.4.9 -conda install -c conda-forge python-snappy +conda install -c quantopian ta-lib=0.4.9 -y + +::conda install -c conda-forge python-snappy -y :: Install vn.py python setup.py install \ No newline at end of file diff --git a/install.sh b/install.sh index fde32554..e4337eab 100755 --- a/install.sh +++ b/install.sh @@ -24,7 +24,7 @@ pip install -r requirements.txt conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls yes conda install -c quantopian ta-lib=0.4.9 -conda install -c conda-forge python-snappy +#conda install -c conda-forge python-snappy #Install vn.py python setup.py install diff --git a/vnpy/trader/uiBasicWidget.py b/vnpy/trader/uiBasicWidget.py index ee385bd2..6ef2dcee 100644 --- a/vnpy/trader/uiBasicWidget.py +++ b/vnpy/trader/uiBasicWidget.py @@ -757,7 +757,7 @@ class TradingWidget(QtWidgets.QFrame): self.spinPrice = QtWidgets.QDoubleSpinBox() self.spinPrice.setDecimals(globalSetting.get('maxDecimal', 4)) self.spinPrice.setMinimum(0) - self.spinPrice.setMaximum(100000) + self.spinPrice.setMaximum(1000000) self.spinVolume = QtWidgets.QSpinBox() self.spinVolume.setMinimum(0)