SkillAgentSearch skills...

Qbot

[🔥updating ...] AI 自动量化交易机器人(完全本地部署) AI-powered Quantitative Investment Research Platform. 📃 online docs: https://ufund-me.github.io/Qbot ✨ :news: qbot-mini: https://github.com/Charmve/iQuant

Install / Use

/learn @UFund-Me/Qbot

README

<div> <div align="right"> 👆 右上角点击 <img class="ai-header-badge-img" src="https://img.shields.io/github/stars/UFund-Me/Qbot.svg?style=social&label=Star"> 告诉我,你希望这个项目继续加速开发迭代 ❤️ & ☕️ </div> <h1> 🤖 Qbot </h1> </div> <p align="left"> <img alt="ViewCount" valign="bottom" src="https://views.whatilearened.today/views/github/UFund-Me/Qbot.svg"> <a href='https://github.com/MShawon/github-clone-count-badge'><img alt='GitHub Clones' valign="bottom" src='https://img.shields.io/badge/dynamic/json?color=success&label=Clone&query=count&url=https://gist.githubusercontent.com/MShawon/cf89f3274d06170b8a4973039aa6220a/raw/clone.json&logo=github'></a> <img alt="releases" valign="bottom" src="https://img.shields.io/github/downloads/UFund-Me/Qbot/total"> <code>since Sep 26</code> </p>

CodeQL AutoTrade Pylint Coverage <a href="https://github.com/UFund-Me/Qbot"><img src="https://img.shields.io/badge/Python-%203.8|%203.9-000000.svg?logo=Python&color=blue" alt="Python version"></a> <a href="https://ufund-me.github.io/Qbot/#/"><img src="https://readthedocs.org/projects/pyod/badge/?version=latest" alt="Documentation status"></a> <a href="https://deepwiki.com/UFund-Me/Qbot"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>

<div align="center"> <a href="https://github.com/UFund-Me/Qbot" target="_blank" rel="noopener"> <picture> <source media="(prefers-color-scheme: dark)" alt="Qbot" srcset="https://user-images.githubusercontent.com/29084184/204598632-23c473db-92ee-4e9b-9b57-d6d95c861fdf.png" /> <img alt="Qbot" width="224" src="https://user-images.githubusercontent.com/29084184/204598632-23c473db-92ee-4e9b-9b57-d6d95c861fdf.png" /> </picture> </a> <div>&nbsp;</div> <div align="center"> <b><font size="5">Qbot website</font></b> <sup> <a href="https://ufund-me.github.io/Qbot/#/"> <i><font size="4">HOT</font></i> </a> </sup> &nbsp;&nbsp;&nbsp;&nbsp; <b><font size="5">Qbot DeepWiki</font></b> <sup> <a href="https://deepwiki.com/UFund-Me/Qbot"> <i><font size="4">TRY IT OUT</font></i> </a> </sup> </div> <div>&nbsp;</div> </div> <div align="center"> <p>AI智能量化投研平台</p> </div>

<b>Qbot</b> is an AI-oriented automated quantitative investment platform, which aims to realize the potential, empower AI technologies in quantitative investment. Qbot supports diverse machine learning modeling paradigms. including supervised learning, market dynamics modeling, and RL.

<p id="demo"> <!-- <img width="" alt="demo" src="https://user-images.githubusercontent.com/29084184/221901048-bb1615fe-674f-40e8-b1e7-ba5db30a82a6.png"> --> <img width="" alt="demo" src="https://user-images.githubusercontent.com/29084184/223608757-5808e23c-86e4-4b1b-8b03-e04c8f368f5c.gif"> </p>
🤖 Qbot = 智能交易策略 + 回测系统 + 自动化量化交易 (+ 可视化分析工具)
            |           |            |            |
            |           |            |             \_ quantstats (dashboard\online operation)
            |           |             \______________ Qbot - vnpy, pytrader, pyfunds
            |           \____________________________ BackTest - backtrader, easyquant
            \________________________________________ quant.ai - qlib, deep learning strategies
<br> <div align="center">

🎺 <b>号外</b>:Qbot微信小程序开发招募 UFund-miniprogram

<b>不建议 fork 项目,本项目会持续更新,只 fork 看不到更新,建议 Star ⭐️ ~</b>

<i>喜欢这个项目吗?请考虑 ❤️赞助 本项目,以帮助改进!</i>

</div>

Quick Start

Qbot是一个免费的量化投研平台,提供从数据获取、交易策略开发、策略回测、模拟交易到最终实盘交易的全闭环流程。在实盘接入前,有股票、基金评测和策略回测,在模拟环境下做交易验证,近乎实盘的时延、滑点仿真。故,本平台提供GUI前端/客户端(部分功能也支持网页),后端做数据处理、交易调度,实现事件驱动的交易流程。对于策略研究部分,尤其强调机器学习、强化学习的AI策略,结合多因子模型提高收益比。

但本项目可能需要一点点python基础知识,有一点点交易经验,会更容易体会作者的初衷,解决当下产品空缺和广大散户朋友的交易痛点,现在直接免费开源出来!

<b>Qbot 目前仅在 python3.8 pyhont3.9 下测试过,其他版本未测试。</b>

<<< 详细文档 docs/Install_guide.md

cd ~ # $HOME as workspace
git clone https://github.com/UFund-Me/Qbot --depth 1

cd Qbot

pip install -r dev/requirements.txt

export PYTHONPATH=${PYTHONPATH}:$(pwd):$(pwd)/backend/multi-fact/mfm_learner
python main.py  #if run on Mac, please use 'pythonw main.py'

Highlights

<table class="table table-striped table-bordered table-vcenter"> <tbody class=ai-notebooks-table-content> <tr> <td colspan="3" rowspan="1" class="ai-notebooks-table-points ai-orange-link"> <div class="features-2 mdl-grid"> <h2 style="text-align:center">1. 模块化分层设计:数据层、策略层、交易引擎抽象设计</h2> <p>- 数据、策略中间表达,方便多种数据接口、交易接口接入,用户自定义策略和因子挖掘<br> - 支持多种交易对象:股票、基金、期货、虚拟货币</p> </div> </td> </tr> <tr> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/backtest_sample.png"></img> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/factor-express.png"/> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/fund_strategy.png"/> </div> </td> </tr> <tr> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/indicator_analyse.png"/> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/juejin_trade.png"/> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/relationship_analyse.png"/> </div> </td> </tr> </tbody> </table> <table class="table table-striped table-bordered table-vcenter"> <tbody class=ai-notebooks-table-content> <tr> <td colspan="3" rowspan="1" class="ai-notebooks-table-points ai-orange-link"> <div class="features-2 mdl-grid"> <h2 style="text-align:center">2. 人工智能交易策略、自动化因子挖掘</h2> <p>机器学习、强化学习、深度学习策略开发,因子挖掘自动化workflow</p> </div> </td> </tr> <tr> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/model_zoo.png"></img> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/multi-factors.png"/> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="./docs/statics/imgs/indicator_list.png"/> </div> </td> </tr> </tbody> </table> <table class="table table-striped table-bordered table-vcenter"> <tbody class=ai-notebooks-table-content> <tr> <td colspan="3" rowspan="1" class="ai-notebooks-table-points ai-orange-link"> <div class="features-2 mdl-grid"> <h2 style="text-align:center">3. 多种交易方式:在线回测 + 模拟交易 + 实盘自动化交易</h2> <p>以策略研究为目标,提供多种交易方式验证策略和提高收益。</p> </div> </td> </tr> <tr> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="https://github.com/UFund-Me/Qbot/assets/29084184/222de589-a61f-4c45-bc5f-49de3fc2a72e"></img> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="https://user-images.githubusercontent.com/29084184/221901048-bb1615fe-674f-40e8-b1e7-ba5db30a82a6.png"/> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="https://github.com/UFund-Me/Qbot/assets/29084184/e96206ff-586a-4c6a-8f7a-cd578c8bdc43"/> </div> </td> </tr> </tbody> </table> <table class="table table-striped table-bordered table-vcenter"> <tbody class=ai-notebooks-table-content> <tr> <td colspan="3" rowspan="1" class="ai-notebooks-table-points ai-orange-link"> <div class="features-2 mdl-grid"> <h2 style="text-align:center">4. 多种提示方式:邮件 + 飞书 + 弹窗 + 微信</h2> <p>这是qbot的消息提示模块,多种方式提示交易信息:交易买卖信息、每日交易收益结果、股票每日推荐等。</p> </div> </td> </tr> <tr> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" src="https://github.com/UFund-Me/Qbot/assets/29084184/aafff916-1945-4ae7-b836-60254ecacf76"></img> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="220" src="https://github.com/UFund-Me/Qbot/assets/29084184/a5cfadb5-8233-4307-ab79-6e0c0aca536d"/> </div> </td> <td> <div class="mdl-cell mdl-cell--4-col"> <img class="illustration_img" width="330" height="150%" src="https://github.com/UFund-

Related Skills

View on GitHub
GitHub Stars16.7k
CategoryFinance
Updated4h ago
Forks2.4k

Languages

Jupyter Notebook

Security Score

100/100

Audited on Mar 26, 2026

No findings