Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

事件驱动的量化交易/做市框架。

License

Notifications You must be signed in to change notification settings

cocovinee/thenextquant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

57 Commits

Repository files navigation

TheNextQuant

异步事件驱动的量化交易/做市系统。

框架依赖

  • 运行环境

    • python 3.5.3 或以上版本
  • 依赖python三方包

    • aiohttp>=3.2.1
    • aioamqp>=0.10.0
  • RabbitMQ服务器

    • 事件发布、订阅

安装

使用 pip 可以简单方便安装:

pip install -e git+https://github.com/TheNextQuant/thenextquant.git#egg=thenextquant

or

pip install thenextquant

Demo使用示例

  • 推荐创建如下结构的文件及文件夹:
ProjectName
 |----- docs
 | |----- README.md
 |----- scripts
 | |----- run.sh
 |----- config.json
 |----- src
 | |----- main.py
 | |----- strategy
 | |----- strategy1.py
 | |----- strategy2.py
 | |----- ...
 |----- .gitignore
 |----- README.md
  • 快速体验示例 Demo

  • 运行

python src/main.py config.json

使用文档

本框架使用的是Python原生异步库(asyncio)实现异步事件驱动,所以在使用之前,需要先了解 Python Asyncio

当前支持交易所

Change Logs

FAQ

About

事件驱动的量化交易/做市框架。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%

AltStyle によって変換されたページ (->オリジナル) /