From c44849e542106c6c23cfe7e0af568936810d7d72 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sun, 6 May 2018 21:59:22 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=E6=9B=B4=E6=96=B0=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.bat | 5 +++-- install.sh | 2 +- vnpy/trader/uiBasicWidget.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) 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)