Download Latest Version qbot_pro_v1.2.1-alpha source code.tar.gz (299.5 MB)
Email in envelope

Get an email when there's a new version of Qbot

Home / qbot-pro_v1.2.1
Name Modified Size InfoDownloads / Week
Parent folder
qinvestool_windows_amd64_v1.3.6.exe 2024-07-30 54.3 MB
qinvestool_windows_amd64_20240616_144155.exe 2024-07-30 54.3 MB
qinvestool_linux_arm64_v1.3.6 2024-07-30 53.1 MB
qinvestool_linux_amd64_v1.3.6 2024-07-30 54.1 MB
qinvestool_darwin_amd64_v1.3.6 2024-07-30 53.7 MB
qbot_pro_v1.2.1-alpha source code.tar.gz 2024-06-16 299.5 MB
qbot_pro_v1.2.1-alpha source code.zip 2024-06-16 302.4 MB
README.md 2024-06-16 6.0 kB
Totals: 8 Items   871.5 MB 2

启动方式为:以main.py为主程序入口,另外需要启动fund-strategy和qinvestool基金和股票选股策略分析后台插件。


✨ News! ✨

<hr/>
<ul>
    <li> :fire: <font size="4"><b>2025.05.14:</b> V3.1.15 release (试用版)<a href="https://pan.baidu.com/s/1wzm5XqifCJPO4ORbA83NdQ?pwd=n8rt" target="_blank">Download</a> !</font> 提取码: n8rt</li>
    <li> :fire: <font size="4"><b>2024.06.16:</b> V1.2.1-alpha release (付费版)<a href="https://github.com/Charmve/qbot_pro/releases/tag/v1.2.1" target="_blank">Download</a> !</font></li>
    <li><font size="4"><b>2024.04.22:</b> V1.2.0-alpha release <a href="https://github.com/Charmve/qbot_pro/releases/tag/v1.2.0" target="_blank">Download</a> !</font></li>
</ul>


Changelog:

更新策略库,更新qinvestool启动方式说明(支持多个平台),加入掘金仿真后台、更多交易接口。

indicator_list fund_strategy juejin_trade



Get Started

本项目分为前端(客户端)和后端两部分,前端由wxPython编写的轻量化GUI客户端,后端分为策略开发、策略回测 qbot/strategies、股票基金评测、模拟交易、在线回测几个部分,对应于客户端从左到右的三个菜单。

前端/客户端

➕ 请注意:本项目建议使用python 3.8、3.9版本,推荐使用conda搭建环境,参考 Install Guide

:::shell
pip install -r dev/requirements.txt

# if run on Mac, please use 'pythonw main.py'
python main.py

[!Tip] 备注: 如果遇到安装问题,也可以直接运行main.py,遇到缺失库/包,就一步步手动安装,也很快能启动。客户端能启动后,别忘了往后看,启动后台。

主要包含四个窗口,如果启动界面未显示或有问题可以参考下图中对应的启动方式。👉 点击这里查看源码,下文也有文字介绍。

backtest_sample

后端/服务端

  1. 选基、选股助手(对应前端/客户端第二个菜单:AI选股/选基)

运行命令(支持linux、mac x86和arm平台,支持win10、win11系统,python3.8/3.9):

cd backend/investool
# mac: 
./qinvestool_darwin_amd64_20240616_144155 webserver

# win:
qinvestool_windows_amd64_20240616_144155.exe webserver

# linux(Ubuntu): 
qinvestool_linux_amd64_20240616_144155 webserver

各平台文件对应:

image

实时构建方式,Unix-like系统(Linux、Mac)下:

cd backend/investool
go build
./release_v2.sh
  1. 基金策略在线分析(对应于前端/客户端第四个菜单:基金投资策略分析)

需要 node 开发环境: npmnode,点击查看详细操作文档

版本信息(作为参考) ▶ go version go version go1.20.4 darwin/amd64 ~ ▶ node --version v19.7.0 ~ ▶ npm --version 9.5.0

使用docker运行项目,在项目路径 pyfunds/fund-strategies/ 下运行以下命令构建项目的docker镜像

docker build -t fund_strategy .

镜像构建完毕后运行

docker run -dp 8000:8000 fund_strategy --name="fund_strategy_instance"

等待项目启动过程中,可通过以下命令查看启动日志:

docker logs -f fund_strategy_instance

启动后,可通过http://locahost:8000访问网页。



微信交流群

或加我微信 Yida_Zhang2

添加个人微信
个人微信
加入微信交流群
Qbot用户微信交流群
加入知识星球(付费)
AI量化交易策略分享、实盘交易教程、实时数据接口
知识星球(付费)

我会尽快对mac、ubuntu、win系统做一个全量打包,支持一键启动。可加入知识星球优先享用。 - 下方给出ubuntu20.04 版本: Qbot-pro_v1.2.1_ubuntu20-04.deb

Full Changelog: https://github.com/Charmve/qbot_pro/compare/v1.2.0...v1.2.1

Source: README.md, updated 2024-06-16