GithubHelp home page GithubHelp logo

jonnyquan / thenextquant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simohailiu/thenextquant

0.0 1.0 0.0 101 KB

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

License: MIT License

Python 100.00%

thenextquant's Introduction

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

thenextquant's People

Contributors

demon-hunter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.