天择加密量化开放框架下载
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
3.2 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 month ago
1 year ago
1 month ago
1 year ago
9 months ago
1 year ago
1 year ago
1 year ago
1 year ago
5 months ago
9 months ago
9 months ago
5 months ago
4 months ago
1 month ago
1 month ago
  1. # 更新系统软件包
  2. sudo su
  3. apt update
  4. apt install sudo
  5. sudo su
  6. sudo apt upgrade -y
  7. sudo sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list.d/*
  8. sudo sed -i 's/security.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list.d/*
  9. sudo apt install iputils-ping -y
  10. # 安装 wget
  11. sudo apt install wget -y
  12. # 安装 htop
  13. sudo apt install htop -y
  14. # 安装 screen
  15. sudo apt install screen -y
  16. # 安装 gcc
  17. sudo apt install gcc -y
  18. # 安装 make
  19. sudo apt install make -y
  20. # 安装 vim
  21. sudo apt install vim -y
  22. # 安装 openssh-server
  23. sudo apt install openssh-server -y
  24. # 安装 openssh-client
  25. sudo apt install openssh-client -y
  26. # 安装 ssh(如果需要)
  27. sudo apt install ssh -y
  28. # 安装 tzdata
  29. sudo apt install tzdata -y
  30. sudo rm -f /etc/localtime
  31. sudo ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  32. sudo echo 'Asia/Shanghai' > /etc/timezone
  33. date
  34. # cd /home/coder
  35. wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-py311_24.3.0-0-Linux-x86_64.sh
  36. sh Miniconda3-py311_24.3.0-0-Linux-x86_64.sh
  37. # /home/coder/miniconda3 必须安装在这个目录下面
  38. rm -rf Miniconda3-py311_24.3.0-0-Linux-x86_64.sh
  39. pip install jupyterlab -i https://pypi.mirrors.ustc.edu.cn/simple
  40. # conda安装talib
  41. conda config --add channels conda-forge
  42. conda install ta-lib
  43. # 下载 ta-lib conda安装talib 失败则用下面的
  44. # cd /data
  45. # cd tz_crypto_pub
  46. # # wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
  47. # tar -xzvf ta-lib-0.4.0-src.tar.gz
  48. # cd ta-lib
  49. # ./configure --prefix=/usr
  50. # make
  51. # sudo make install
  52. # cd ..
  53. # pip install TA-Lib -i https://pypi.mirrors.ustc.edu.cn/simple
  54. # rm -rf ta-lib-0.4.0-src.tar.gz
  55. # rm -rf ta-lib/
  56. pip uninstall numpy -y
  57. pip install numpy==1.24.4 -i https://pypi.mirrors.ustc.edu.cn/simple
  58. pip install pandas==2.2.3 -i https://pypi.mirrors.ustc.edu.cn/simple
  59. pip install importlib_metadata -i https://pypi.mirrors.ustc.edu.cn/simple
  60. pip install tzlocal -i https://pypi.mirrors.ustc.edu.cn/simple
  61. pip install wechatpy -i https://pypi.mirrors.ustc.edu.cn/simple
  62. pip install pika -i https://pypi.mirrors.ustc.edu.cn/simple
  63. pip install websocket-client -i https://pypi.mirrors.ustc.edu.cn/simple
  64. pip install plotly -i https://pypi.mirrors.ustc.edu.cn/simple
  65. pip install pyarrow -i https://pypi.mirrors.ustc.edu.cn/simple
  66. pip install deap -i https://pypi.mirrors.ustc.edu.cn/simple
  67. pip install lightgbm -i https://pypi.mirrors.ustc.edu.cn/simple
  68. pip install orjson -i https://pypi.mirrors.ustc.edu.cn/simple
  69. pip install numba -i https://pypi.mirrors.ustc.edu.cn/simple
  70. pip install binance-futures-connector -i https://pypi.tuna.tsinghua.edu.cn/simple
  71. pip install binance-connector -i https://pypi.tuna.tsinghua.edu.cn/simple
  72. pip install scikit-optimize -i https://pypi.tuna.tsinghua.edu.cn/simple
  73. pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
  74. pip install sortedcontainers -i https://pypi.tuna.tsinghua.edu.cn/simple
  75. pip install minio -i https://pypi.tuna.tsinghua.edu.cn/simple
  76. pip install filelock -i https://pypi.tuna.tsinghua.edu.cn/simple
  77. pip install psutil -i https://pypi.tuna.tsinghua.edu.cn/simple
  78. pip install httpx -i https://pypi.tuna.tsinghua.edu.cn/simple
  79. pip install zmq -i https://pypi.tuna.tsinghua.edu.cn/simple
  80. pip install redis -i https://pypi.tuna.tsinghua.edu.cn/simple