All Projects → JiaoziMatrix → Aioquant

JiaoziMatrix / Aioquant

Licence: mit
Asynchronous event I/O driven quantitative trading framework.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Aioquant

Thenextquant
Asynchronous driven quantitative trading framework.
Stars: ✭ 172 (-8.51%)
Mutual labels:  kraken, gemini, async, asynchronous, quant, currency, binance, framework
Quantbot
数字货币量化交易学习框架
Stars: ✭ 257 (+36.7%)
Mutual labels:  quant, currency, binance, framework
Transmittable Thread Local
📌 TransmittableThreadLocal (TTL), the missing Java™ std lib(simple & 0-dependency) for framework/middleware, provide an enhanced InheritableThreadLocal that transmits values between threads even using thread pooling components.
Stars: ✭ 4,678 (+2388.3%)
Mutual labels:  async, asynchronous, framework
Cryptocurrency Portfolio
Google Sheets automatic creation with Google Apps Script (GAS) for managing a cryptocurrency tracking spreadsheet with multi exchanges
Stars: ✭ 134 (-28.72%)
Mutual labels:  kraken, currency, binance
Nescience-Indexing-CLI
Nescience Software & Capital Rebalancing Tool
Stars: ✭ 26 (-86.17%)
Mutual labels:  gemini, kraken, binance
Goex
Exchange Rest And WebSocket API For Golang Wrapper support okcoin,okex,huobi,hbdm,bitmex,coinex,poloniex,bitfinex,bitstamp,binance,kraken,bithumb,zb,hitbtc,fcoin, coinbene
Stars: ✭ 1,188 (+531.91%)
Mutual labels:  kraken, quant, binance
Cryptofeed
Cryptocurrency Exchange Websocket Data Feed Handler
Stars: ✭ 643 (+242.02%)
Mutual labels:  kraken, gemini, binance
Currencyviewer
Short python framework that dynamically displays and converts the cryptocurrencies in your Kraken wallet into equivalents fiat money.
Stars: ✭ 13 (-93.09%)
Mutual labels:  kraken, currency, framework
Trading Indicator
provide trading technical indicator values based on data of almost crypto currency exchanges
Stars: ✭ 31 (-83.51%)
Mutual labels:  kraken, gemini, binance
Drone
CLI utility for Drone, an Embedded Operating System.
Stars: ✭ 114 (-39.36%)
Mutual labels:  async, asynchronous, framework
Asyncorm
Fully Async ORM inspired in django's
Stars: ✭ 182 (-3.19%)
Mutual labels:  async, asynchronous
Activej
ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines web, high load, and cloud programming in Java, featuring ultimate performance and scalability!
Stars: ✭ 183 (-2.66%)
Mutual labels:  async, framework
Exchanges Php
This is a virtual currency SDK that brings together multiple exchanges
Stars: ✭ 134 (-28.72%)
Mutual labels:  kraken, binance
Tascalate Concurrent
Implementation of blocking (IO-Bound) cancellable java.util.concurrent.CompletionStage and related extensions to java.util.concurrent.ExecutorService-s
Stars: ✭ 144 (-23.4%)
Mutual labels:  async, asynchronous
My Token
📈Track token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (-25%)
Mutual labels:  kraken, binance
Pyrogram
Telegram MTProto API Client Library and Framework in Pure Python for Users and Bots
Stars: ✭ 2,252 (+1097.87%)
Mutual labels:  async, framework
Fastapi Crudrouter
A dynamic FastAPI router that automatically creates CRUD routes for your models
Stars: ✭ 159 (-15.43%)
Mutual labels:  async, framework
Falcon
A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
Stars: ✭ 2,058 (+994.68%)
Mutual labels:  async, asynchronous
Rubico
[a]synchronous functional programming
Stars: ✭ 133 (-29.26%)
Mutual labels:  async, asynchronous
Kubernetes asyncio
Python asynchronous client library for Kubernetes http://kubernetes.io/
Stars: ✭ 147 (-21.81%)
Mutual labels:  async, asynchronous

AIOQuant

AIOQuant 是一套使用 Python 语言开发的 异步事件驱动量化交易 / 做市 系统,它被设计为适应中高频策略的交易系统, 底层封装了操作系统的 aio*库 实现异步事件循环,业务层封装了 RabbitMQ消息队列 实现异步事件驱动,再加上 Python 语言的简单易用, 它非常适用于数字货币的高频策略和做市策略开发。

AIOQuant 同时也被设计为一套完全解耦的量化交易系统,其主要模块包括 行情系统模块资产系统模块交易系统模块风控系统模块存储系统模块, 各个模块都可以任意拆卸和组合使用,甚至采用不同的开发语言设计重构,模块之间通过 RabbitMQ消息队列 相互驱动,所以不同模块还可以部署在不同的进程, 或不同服务器。

AIOQuant 提供了简单而强大的功能:

  • 基于 Python Asyncio 原生异步事件循环,处理更简洁,效率更高;

  • 跨平台(Windows、Mac、Linux),可任意私有化部署;

  • 任意交易所的交易方式(现货、合约、期货)统一,相同策略只需要区别不同配置,即可无缝切换任意交易所;

  • 所有交易所的行情统一,并通过事件订阅的形式,回调触发策略执行不同指令;

  • 支持任意多个策略协同运行;

  • 支持任意多个策略分布式运行;

  • 毫秒级延迟(一般瓶颈在网络延迟);

  • 提供任务、监控、存储、事件发布等一系列高级功能;

  • 定制化Docker容器,分布式配置、部署运行;

  • 量化交易Web管理系统,通过管理工具,轻松实现对策略、风控、资产、服务器等进程或资源的动态管理;

  • AIOQuant 交易系统各大模块

  • AIOQuant 分布式管理交易系统

框架依赖

  • 运行环境

    • python 3.5.3 或以上版本(建议安装3.6版本)
  • 依赖python三方包

    • aiohttp>=3.2.1
    • aioamqp>=0.13.0(可选)
    • motor>=2.0.0 (可选)
  • RabbitMQ服务器

    • 事件发布、订阅
  • MongoDB数据库(可选)

    • 数据存储

安装

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

pip install aioquant

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

推荐课程

第1期 高频交易介绍
第2期 一分钟上手,开启自己的第一笔程序化交易
第3期 利用REST API拉取行情数据
第4期 使用实时行情动态挂单
第5期 API报错 & 订单成交
第6期 优雅的处理未完成订单
第7期 配置文件
第8期 日志打印
第9期 服务心跳 & 协程任务
第10期 Order订单模块
第11期 Trade交易模块
第12期 并发 & 锁
第13期 Market行情模块 & 行情服务器
第14期 Position合约持仓模块
第15期 现货搬砖套利原理
第16期 分析历史行情数据
第17期 现货搬砖套利策略编写
第18期 行情数据存储
第19期 推送钉钉消息
第20期 Bollinger Bands 布林带策略
第21期 一个简单的做市商策略
第22期 火币永续合约REST API模块
第23期 火币永续合约Trade模块
第24期 Market行情系统升级
第25期 现货-合约无风险套利
第26期 合约的无风险套利
第27期 高阶技巧 - 运行时更新
第28期 Triangular Arbitrage 三角套利原理
第29期 Triangular Arbitrage 三角套利策略编写
第30期 高效的交易方式
第31期 高阶技巧 - ClientOrderId的用法
第32期 高阶技巧 - 订单类型的高级用法
第33期 Trade模块的强大功能让你的策略如虎添翼
第34期 AIOQuant到底有何不同?
第35期 搭建本地量化策略研发环境
第36期 远程部署策略之服务器选购
第37期 远程部署策略之服务器环境搭建
第38期 远程服务器部署量化策略

有任何问题,欢迎联系

  • 微信二维码

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].