安装
TheNextQuant
异步事件驱动的量化交易SDK和框架。
框架依赖
运行环境
python
3.5.3 或以上版本
依赖python三方包
aioamqp
>=0.10.0aiohttp
>=3.2.1可选
motor
>=1.2.1可选
安装
使用 pip
可以简单方便安装:
pip install -e git+https://github.com/TheNextQuant/thenextquant.git#egg=thenextquant
or
pip install thenextquant
推荐项目结构
- 推荐创建如下结构的文件及文件夹:
Project
|----- docs
| |----- README.md
|----- scripts
| |----- run.sh
|----- config.json
|----- src
| |----- main.py
| |----- strategy
| |----- strategy1.py
| |----- strategy2.py
| |----- ...
|----- .gitignore
|----- README.md