____________________________________
< Run ``./env_setup.sh`` to say hello >
------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
支持三种不同的环境搭建方式:
- 下载安装Conda
wget https://repo.continuum.io/archive/Anaconda3-5.3.1-Linux-x86_64.sh
bash Anaconda3-5.3.1-Linux-x86_64.sh
- 编辑
~/.bashrc
文件,在最后面加上
export PATH=/home/aeasringnar/anaconda3/bin:$PATH
保存退出后:source ~/.bashrc
-
再次输入
conda list
测试 -
创建conda环境:
conda create -n Qbot python=3.9
conda activate Qbot
pip install -r requirements.txt
bash ./env_setup.sh
还在做。。。
cd ~/Qbot
docker build -t ufune-me:qbot-1.0.0 .
docker images
docker start <image-id>
docker exec -it <container-id> bash
申请聚宽账号、掘金仿真账号,设置环境变量:
export USER_ID="admin" # replace your info
export PASSWORD="admin1234." # replace your info
export MAIL_LICENSE="wafasqtakgywoobach" # replace your own 163.com / qq.com license
Auto run with ci 'auto-trade.yml' workflows, eg:
python main.py
# if run on Mac, please use 'pythonw main.py'
cd pytrader
python test_backtrade.py
python test_trader.py