[Mod]更新部分安装代码
This commit is contained in:
parent
6290f059ab
commit
c44849e542
@ -4,8 +4,9 @@ pip install -r requirements.txt
|
|||||||
::Install Ta-Lib
|
::Install Ta-Lib
|
||||||
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
|
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
|
||||||
conda config --set show_channel_urls yes
|
conda config --set show_channel_urls yes
|
||||||
conda install -c quantopian ta-lib=0.4.9
|
conda install -c quantopian ta-lib=0.4.9 -y
|
||||||
conda install -c conda-forge python-snappy
|
|
||||||
|
::conda install -c conda-forge python-snappy -y
|
||||||
|
|
||||||
:: Install vn.py
|
:: Install vn.py
|
||||||
python setup.py install
|
python setup.py install
|
@ -24,7 +24,7 @@ pip install -r requirements.txt
|
|||||||
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
|
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
|
||||||
conda config --set show_channel_urls yes
|
conda config --set show_channel_urls yes
|
||||||
conda install -c quantopian ta-lib=0.4.9
|
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
|
#Install vn.py
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
@ -757,7 +757,7 @@ class TradingWidget(QtWidgets.QFrame):
|
|||||||
self.spinPrice = QtWidgets.QDoubleSpinBox()
|
self.spinPrice = QtWidgets.QDoubleSpinBox()
|
||||||
self.spinPrice.setDecimals(globalSetting.get('maxDecimal', 4))
|
self.spinPrice.setDecimals(globalSetting.get('maxDecimal', 4))
|
||||||
self.spinPrice.setMinimum(0)
|
self.spinPrice.setMinimum(0)
|
||||||
self.spinPrice.setMaximum(100000)
|
self.spinPrice.setMaximum(1000000)
|
||||||
|
|
||||||
self.spinVolume = QtWidgets.QSpinBox()
|
self.spinVolume = QtWidgets.QSpinBox()
|
||||||
self.spinVolume.setMinimum(0)
|
self.spinVolume.setMinimum(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user