[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-banbox--banbot":3,"tool-banbox--banbot":65},[4,17,25,39,48,56],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",138956,2,"2026-04-05T11:33:21",[13,14,15],"开发框架","Agent","语言模型","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":10,"last_commit_at":23,"category_tags":24,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,15],{"id":26,"name":27,"github_repo":28,"description_zh":29,"stars":30,"difficulty_score":10,"last_commit_at":31,"category_tags":32,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[33,34,35,36,14,37,15,13,38],"图像","数据工具","视频","插件","其他","音频",{"id":40,"name":41,"github_repo":42,"description_zh":43,"stars":44,"difficulty_score":45,"last_commit_at":46,"category_tags":47,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,3,"2026-04-04T04:44:48",[14,33,13,15,37],{"id":49,"name":50,"github_repo":51,"description_zh":52,"stars":53,"difficulty_score":45,"last_commit_at":54,"category_tags":55,"status":16},519,"PaddleOCR","PaddlePaddle\u002FPaddleOCR","PaddleOCR 是一款基于百度飞桨框架开发的高性能开源光学字符识别工具包。它的核心能力是将图片、PDF 等文档中的文字提取出来，转换成计算机可读取的结构化数据，让机器真正“看懂”图文内容。\n\n面对海量纸质或电子文档，PaddleOCR 解决了人工录入效率低、数字化成本高的问题。尤其在人工智能领域，它扮演着连接图像与大型语言模型（LLM）的桥梁角色，能将视觉信息直接转化为文本输入，助力智能问答、文档分析等应用场景落地。\n\nPaddleOCR 适合开发者、算法研究人员以及有文档自动化需求的普通用户。其技术优势十分明显：不仅支持全球 100 多种语言的识别，还能在 Windows、Linux、macOS 等多个系统上运行，并灵活适配 CPU、GPU、NPU 等各类硬件。作为一个轻量级且社区活跃的开源项目，PaddleOCR 既能满足快速集成的需求，也能支撑前沿的视觉语言研究，是处理文字识别任务的理想选择。",74913,"2026-04-05T10:44:17",[15,33,13,37],{"id":57,"name":58,"github_repo":59,"description_zh":60,"stars":61,"difficulty_score":62,"last_commit_at":63,"category_tags":64,"status":16},3215,"awesome-machine-learning","josephmisiti\u002Fawesome-machine-learning","awesome-machine-learning 是一份精心整理的机器学习资源清单，汇集了全球优秀的机器学习框架、库和软件工具。面对机器学习领域技术迭代快、资源分散且难以甄选的痛点，这份清单按编程语言（如 Python、C++、Go 等）和应用场景（如计算机视觉、自然语言处理、深度学习等）进行了系统化分类，帮助使用者快速定位高质量项目。\n\n它特别适合开发者、数据科学家及研究人员使用。无论是初学者寻找入门库，还是资深工程师对比不同语言的技术选型，都能从中获得极具价值的参考。此外，清单还延伸提供了免费书籍、在线课程、行业会议、技术博客及线下聚会等丰富资源，构建了从学习到实践的全链路支持体系。\n\n其独特亮点在于严格的维护标准：明确标记已停止维护或长期未更新的项目，确保推荐内容的时效性与可靠性。作为机器学习领域的“导航图”，awesome-machine-learning 以开源协作的方式持续更新，旨在降低技术探索门槛，让每一位从业者都能高效地站在巨人的肩膀上创新。",72149,1,"2026-04-03T21:50:24",[13,37],{"id":66,"github_repo":67,"name":68,"description_en":69,"description_zh":70,"ai_summary_zh":70,"readme_en":71,"readme_zh":72,"quickstart_zh":73,"use_case_zh":74,"hero_image_url":75,"owner_login":76,"owner_name":76,"owner_avatar_url":77,"owner_bio":78,"owner_company":78,"owner_location":78,"owner_email":78,"owner_twitter":78,"owner_website":78,"owner_url":79,"languages":80,"stars":112,"forks":113,"last_commit_at":114,"license":115,"difficulty_score":45,"env_os":116,"env_gpu":116,"env_ram":116,"env_deps":117,"category_tags":120,"github_topics":121,"view_count":45,"oss_zip_url":78,"oss_zip_packed_at":78,"status":16,"created_at":137,"updated_at":138,"faqs":139,"releases":169},755,"banbox\u002Fbanbot","banbot","a high-performance, easy-to-use, multi-symbol, multi-strategy, multi-period, multi-account event-driven trading bot","banbot 是一款专为量化交易设计的高性能开源事件驱动机器人。它有效解决了传统回测效率低下、策略开发与实盘部署割裂以及多账户管理繁琐的痛点。banbot 提供直观的 Web 界面，用户无需配置 IDE 即可直接编写策略、回测并一键部署。其核心优势在于极速回测，能在数秒内完成一年的 K 线数据处理，同时采用纯事件驱动架构杜绝未来函数干扰，确保策略逻辑真实可靠。此外，banbot 支持多币种、多周期及多账户并行交易，并内置贝叶斯等超参数优化算法，兼容币安、OKX 等多个主流交易所。banbot 非常适合量化开发者、金融研究人员以及追求自动化交易的进阶用户。无论您是验证新策略还是管理多个交易所账户，banbot 都能提供灵活高效的支撑，助您轻松实现交易理念的落地。","\nbanbot\n=======\n\nbanbot is a high-performance, easy-to-use, multi-symbol, multi-strategy, multi-period, multi-account event-driven trading robot.\n\n[![AGPLv3 licensed][agpl-badge]][agpl-url]\n[![Discord chat][discord-badge]][discord-url]\n[![Ask DeepWiki](https:\u002F\u002Fdeepwiki.com\u002Fbadge.svg)](https:\u002F\u002Fdeepwiki.com\u002Fbanbox\u002Fbanbot)\n[![zread](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAsk_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https:\u002F\u002Fzread.ai\u002Fbanbox\u002Fbanbot)\n\n[agpl-badge]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-AGPL--v3-green.svg\n[agpl-url]: https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanbot\u002Fblob\u002Fdevelop\u002FLICENSE\n[discord-badge]: https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1289838115325743155.svg?logo=discord&style=flat-square\n[discord-url]: https:\u002F\u002Fdiscord.com\u002Finvite\u002FXXjA8ctqga\n\n### Main Features\n* web ui: write strategy, backtest, and deploy without IDE.\n* high-performance: backtest for 1 year klines in seconds.\n* easy-to-use: write once, support both backtesting and real trading.\n* flexible: free combination of symbols, strategies and time frames.\n* event-driven: no lookahead, more freedom to implement your trade ideas.\n* scalable: trade multiple exchange accounts simultaneously.\n* hyper opt: support bayes\u002Ftpe\u002Frandom\u002Fcmaes\u002Fipop-cmaes\u002Fbipop-cmaes\n\n![image](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbanbox_banbot_readme_3ee7fe6419d1.gif)\n\n### Supported Exchanges\nbanbot support exchanges powered by [banexg](https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanexg):\n\n| logo                                                                                                            | id      | name              | ver | websocket | \n|-----------------------------------------------------------------------------------------------------------------|---------|-------------------|-----|-----------|\n| ![binance](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbanbox_banbot_readme_4c63e5362469.jpg) | binance | spot\u002Fusd-m\u002Fcoin-m | *   | Y         |\n| ![okx](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbanbox_banbot_readme_f831c03fee31.jpg) | okx | spot\u002Fusd-m\u002Fcoin-m | *   | Y         |\n| ![bybit](https:\u002F\u002Fprivate-user-images.githubusercontent.com\u002F81727607\u002F382500134-97a5d0b3-de10-423d-90e1-6620960025ed.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkyNTM1NjgsIm5iZiI6MTc2OTI1MzI2OCwicGF0aCI6Ii84MTcyNzYwNy8zODI1MDAxMzQtOTdhNWQwYjMtZGUxMC00MjNkLTkwZTEtNjYyMDk2MDAyNWVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTI0VDExMTQyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwODM4YThmMTU2ZmIyMGI1YjRmYWU0MGVkYzJhN2YyMmYzYzhmNTJjZDM1YzFmYzdjNGRlMGY4OTlmM2RmODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3I9CvGTqWpZcZaDBV0_tFQFbOoPyCOxaZ1c6o7q6tMQ) | bybit | spot\u002Fusd-m\u002Fcoin-m | *   | Y         |\n\n### Quick start\n\ngo [runbanbot](https:\u002F\u002Fgithub.com\u002Fbanbox\u002Frunbanbot) to get started with Docker in minutes!\n\n### Work with AI\nDownload the [banbot.md](doc\u002Fbanbot.md) file, then attach this file to any AI conversation to tell it the strategy you want to test.\n\n[中文版 banbot.md](doc\u002Fbanbot_cn.md)\n\nOr immediately test your idea using the [Banbot Workflow](https:\u002F\u002Fwww.banbot.site\u002Fzh-CN\u002Fai).\n\n### Document\nPlease go to [BanBot Website](https:\u002F\u002Fwww.banbot.site\u002F) for documents.\n\n### Contributing\nFollow the [How to Contribute](\u002Fdoc\u002Fcontribute.md). Please do get hesitate to get touch via the [Discord](https:\u002F\u002Fdiscord.com\u002Finvite\u002FXXjA8ctqga) Chat to discuss development, new features, and the future roadmap.  \nUnless you explicitly state otherwise, any contributions intentionally submitted for inclusion in a banbot workspace you create shall be licensed under AGPLv3, without any additional terms or conditions.\n\n### Donate\nIf banbot made your life easier and you want to help us improve it further, or if you want to speed up development of new features, please support us with a tip. We appreciate all contributions!  \n\n| METHOD | ADDRESS                                    |\n|--------|--------------------------------------------|\n| BTC    | bc1qah04suzc2amupds7uqgpukellktscuuyurgflt |\n| ETH    | 0xedBF0e5ABD81e5F01c088f6B6991a623dB14D43b |\n\n### LICENSE\nThis project is dual-licensed under GNU AGPLv3 License and a commercial license. For free use and modifications of the code, you can use the AGPLv3 license. If you require commercial license with different terms, please contact me.\n","banbot\n=======\n\nbanbot 是一款高性能、易用、支持多币种、多策略、多周期、多账户的事件驱动型交易机器人。\n\n[![AGPLv3 licensed][agpl-badge]][agpl-url]\n[![Discord chat][discord-badge]][discord-url]\n[![Ask DeepWiki](https:\u002F\u002Fdeepwiki.com\u002Fbadge.svg)](https:\u002F\u002Fdeepwiki.com\u002Fbanbox\u002Fbanbot)\n[![zread](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAsk_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https:\u002F\u002Fzread.ai\u002Fbanbox\u002Fbanbot)\n\n[agpl-badge]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-AGPL--v3-green.svg\n[agpl-url]: https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanbot\u002Fblob\u002Fdevelop\u002FLICENSE\n[discord-badge]: https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1289838115325743155.svg?logo=discord&style=flat-square\n[discord-url]: https:\u002F\u002Fdiscord.com\u002Finvite\u002FXXjA8ctqga\n\n### 主要功能\n* **Web UI**: 无需集成开发环境（IDE）即可编写策略、进行回测（Backtest）和部署。\n* **高性能**: 几秒钟内即可完成 1 年 K 线数据的回测。\n* **易用性**: 一次编写，同时支持回测和实盘交易。\n* **灵活性**: 自由组合币种、策略和时间框架。\n* **事件驱动**: 无未来函数（Lookahead），更自由地实现你的交易想法。\n* **可扩展**: 同时交易多个交易所账户。\n* **超参数优化 (Hyper Opt)**: 支持贝叶斯\u002F树结构核密度估计 (TPE)\u002F随机\u002FCMA-ES\u002FIPop-CMA-ES\u002FBipop-CMA-ES 等算法。\n\n![image](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbanbox_banbot_readme_3ee7fe6419d1.gif)\n\n### 支持的交易所\nbanbot 支持由 [banexg](https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanexg) 驱动的交易所：\n\n| 图标                                                                                                            | ID      | 名称              | 版本 | WebSocket | \n|-----------------------------------------------------------------------------------------------------------------|---------|-------------------|------|-----------|\n| ![binance](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbanbox_banbot_readme_4c63e5362469.jpg) | binance | 现货\u002FUSD-M\u002FCOIN-M | *    | Y         |\n| ![okx](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbanbox_banbot_readme_f831c03fee31.jpg) | okx | 现货\u002FUSD-M\u002FCOIN-M | *    | Y         |\n| ![bybit](https:\u002F\u002Fprivate-user-images.githubusercontent.com\u002F81727607\u002F382500134-97a5d0b3-de10-423d-90e1-6620960025ed.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkyNTM1NjgsIm5iZiI6MTc2OTI1MzI2OCwicGF0aCI6Ii84MTcyNzYwNy8zODI1MDAxMzQtOTdhNWQwYjMtZGUxMC00MjNkLTkwZTEtNjYyMDk2MDAyNWVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTI0VDExMTQyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwODM4YThmMTU2ZmIyMGI1YjRmYWU0MGVkYzJhN2YyMmYzYzhmNTJjZDM1YzFmYjdjNGRlMGY4OTlmM2RmODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3I9CvGTqWpZcZaDBV0_tFQFbOoPyCOxaZ1c6o7q6tMQ) | bybit | 现货\u002FUSD-M\u002FCOIN-M | *    | Y         |\n\n### 快速开始\n\n前往 [runbanbot](https:\u002F\u002Fgithub.com\u002Fbanbox\u002Frunbanbot) 在几分钟内使用 Docker 开始！\n\n### 与 AI 协作\n\n下载 [banbot.md](doc\u002Fbanbot.md) 文件，然后将其附加到任何 AI 对话中，以告知它你想要测试的策略。\n\n[中文版 banbot.md](doc\u002Fbanbot_cn.md)\n\n或者直接通过 [Banbot Workflow](https:\u002F\u002Fwww.banbot.site\u002Fzh-CN\u002Fai) 立即测试你的想法。\n\n### 文档\n\n请前往 [BanBot 官网](https:\u002F\u002Fwww.banbot.site\u002F) 查看文档。\n\n### 贡献\n\n遵循 [如何贡献](\u002Fdoc\u002Fcontribute.md)。欢迎随时通过 [Discord](https:\u002F\u002Fdiscord.com\u002Finvite\u002FXXjA8ctqga) 聊天讨论开发、新功能及未来路线图。  \n除非你明确声明，否则任何有意提交纳入你创建的 banbot 工作区的贡献，均应在 AGPLv3 许可下授权，无需额外条款或条件。\n\n### 捐赠\n\n如果 banbot 让你的生活更轻松，并且你想帮助我们进一步改进它，或者如果你想加速新功能的开发，请通过打赏支持我们。我们感谢所有贡献！  \n\n| 方式 | 地址                                    |\n|--------|--------------------------------------------|\n| BTC    | bc1qah04suzc2amupds7uqgpukellktscuuyurgflt |\n| ETH    | 0xedBF0e5ABD81e5F01c088f6B6991a623dB14D43b |\n\n### 许可证\n\n本项目采用 GNU AGPLv3 许可证和商业许可证双重许可。对于代码的自由使用和修改，你可以使用 AGPLv3 许可证。如果你需要具有不同条款的商业许可证，请联系我。","# banbot 快速上手指南\n\nbanbot 是一款高性能、易用的多符号、多策略、多周期事件驱动交易机器人。支持 Web UI 策略编写、回测与部署，无需 IDE 即可操作。\n\n## 1. 环境准备\n\n- **操作系统**：Linux \u002F macOS \u002F Windows\n- **核心依赖**：\n  - Docker (推荐版本 v20+)\n  - Docker Compose\n  - Git\n- **网络要求**：需保持稳定的网络连接，以便拉取镜像及连接交易所 API。\n\n## 2. 安装步骤\n\n推荐使用官方提供的 Docker 部署方案，可在几分钟内完成启动。\n\n1. 克隆运行脚本仓库：\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fbanbox\u002Frunbanbot.git\ncd runbanbot\n```\n\n2. 按照仓库说明启动服务（通常使用以下命令）：\n```bash\ndocker-compose up -d\n```\n\n> 注：详细配置请参照 [runbanbot](https:\u002F\u002Fgithub.com\u002Fbanbox\u002Frunbanbot) 仓库文档。\n\n## 3. 基本使用\n\n### 访问与配置\n- **Web 界面**：启动容器后，在浏览器访问 `http:\u002F\u002Flocalhost:8080`（端口以实际提示为准）。\n- **交易所接入**：在 Web UI 中配置 API Key。目前支持以下交易所：\n  - Binance (spot\u002Fusd-m\u002Fcoin-m)\n  - OKX (spot\u002Fusd-m\u002Fcoin-m)\n  - Bybit (spot\u002Fusd-m\u002Fcoin-m)\n\n### 策略开发与交易\n- **编写策略**：直接在 Web UI 中编写策略逻辑，支持自由组合符号、策略和时间框架。\n- **回测与实盘**：支持秒级回测（1 年 K 线），并可直接部署进行实盘交易。\n- **超参数优化**：内置 Bayes\u002FTPE\u002FRandom\u002FCMAES 等优化算法。\n\n### AI 辅助开发\n- **本地模式**：下载项目中的 `doc\u002Fbanbot.md` 文件，将其附加到 AI 对话中，描述你想测试的策略。\n- **在线模式**：直接使用 [Banbot Workflow](https:\u002F\u002Fwww.banbot.site\u002Fzh-CN\u002Fai) 在线测试想法。\n\n---\n\n**更多资源**\n- **官方文档**：[BanBot Website](https:\u002F\u002Fwww.banbot.site\u002F)\n- **社区交流**：[Discord](https:\u002F\u002Fdiscord.com\u002Finvite\u002FXXjA8ctqga)\n- **许可证**：AGPLv3 \u002F 商业授权","量化交易员小李计划开发一套跨交易所的套利策略，需要同时回测多个时间周期并管理多个账户资金，但缺乏完善的量化基础设施。\n\n### 没有 banbot 时\n- 需要从零编写各交易所 API 接口对接代码，耗时数周且容易因网络波动导致数据丢失\n- 本地跑一年 K 线数据回测往往需要数小时甚至过夜，严重拖慢策略迭代速度\n- 不同策略部署在不同账户时，需维护多套独立运行脚本，难以统一监控和管理风险\n- 参数优化依赖手动试错，无法自动寻找最优超参数组合，容易陷入过拟合陷阱\n\n### 使用 banbot 后\n- 通过 Web UI 直接编写策略逻辑，无需配置复杂 IDE 环境即可开始回测，大幅降低上手门槛\n- 高性能引擎让一年 K 线数据秒级完成回测，快速验证想法可行性，极大提升研发效率\n- 支持多账户同时运行，轻松实现同一策略在币安和 OKX 上的并行部署，灵活分配资金\n- 内置 Bayes\u002FTPE 等优化算法，一键自动调参，显著提升策略收益稳定性与实盘表现\n\nbanbot 将复杂的量化基建工作简化为可视化操作，让交易者能专注于策略本身而非底层工程。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fbanbox_banbot_a2fae3ea.png","banbox","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fbanbox_cc289380.png",null,"https:\u002F\u002Fgithub.com\u002Fbanbox",[81,85,89,93,97,101,105,108],{"name":82,"color":83,"percentage":84},"Go","#00ADD8",70.8,{"name":86,"color":87,"percentage":88},"Svelte","#ff3e00",21,{"name":90,"color":91,"percentage":92},"TypeScript","#3178c6",7.3,{"name":94,"color":95,"percentage":96},"JavaScript","#f1e05a",0.4,{"name":98,"color":99,"percentage":100},"HTML","#e34c26",0.3,{"name":102,"color":103,"percentage":104},"Python","#3572A5",0.1,{"name":106,"color":107,"percentage":104},"Dockerfile","#384d54",{"name":109,"color":110,"percentage":111},"CSS","#663399",0,544,109,"2026-04-02T08:41:27","AGPL-3.0","未说明",{"notes":118,"python":116,"dependencies":119},"推荐使用 Docker 容器化部署（参考 runbanbot 项目）；支持 Binance、OKX、Bybit 等主流交易所；提供 Web UI 进行策略编写与回测，无需本地 IDE；采用事件驱动架构，支持多账户同时交易；开源协议为 AGPLv3。",[116],[37,15],[122,123,124,125,126,127,128,129,130,131,132,133,134,135,136],"binance-trader","crypto-bot","quantitative-finance","trade-bot","trading","algo-trading","algorithmic-trading","bitcoin","bot","cryptocurrency","ethereum","quantitative-trading","strategy","trading-algorithms","trading-strategies","2026-03-27T02:49:30.150509","2026-04-06T05:35:28.317873",[140,145,150,155,160,165],{"id":141,"question_zh":142,"answer_zh":143,"source_url":144},3225,"回测时出现 'Cannot create a Decimal from NaN' 报错或 simMarketPrice 返回 NaN 怎么办？","这通常是由于 K 线数据异常导致的。根据排查，主要原因是开盘价等于最低价（openP=lowP），导致计算中的分母 a 为 0。虽然 rate=0 表示 K 线刚开始（对应 Open），但并非直接原因。建议检查数据源价格有效性，确保计算逻辑中避免除以 0 的情况。","https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanbot\u002Fissues\u002F65",{"id":146,"question_zh":147,"answer_zh":148,"source_url":149},3226,"日志文件大小超过 1G 未按文档描述的 300M 滚动是怎么回事？","这是一个已知问题，已在后续版本中修复。请将 banbot 升级到 v0.2.29-beta.7 或更高版本，然后重新启动 trade 实盘进程，在 Dashboard 中即可正常查看按预期滚动的日志。","https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanbot\u002Fissues\u002F121",{"id":151,"question_zh":152,"answer_zh":153,"source_url":154},3227,"下载缓存时报错 'BTC\u002FUSDT not exist in 0 cache' 或 TimescaleDB 空间不足如何处理？","这通常是配置错误。请检查 yml 配置中的 market_type 与 pairs 格式是否匹配。例如，当 market_type 设置为 linear（合约）时，pairs 应直接填写品种名称（如 BTC, ETH），而不是 'BTC\u002FUSDT'。有效市场类型包括 spot、linear、inverse、option。","https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanbot\u002Fissues\u002F90",{"id":156,"question_zh":157,"answer_zh":158,"source_url":159},3228,"如何降低实盘运行时 spider 进程的流量开销？","可以启用 REST 定时轮询功能替代 WebSocket 监听。请使用 v0.2.18-beta.2 或更高版本，并在配置中开启相关设置，这样可以直接通过 REST 定期拉取最新 K 线数据，预计将大幅降低流量开销。","https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanbot\u002Fissues\u002F61",{"id":161,"question_zh":162,"answer_zh":163,"source_url":164},3229,"WebUI 是否支持导入自定义因子数据用于策略调试？","支持。该功能已完成。用户可以在 WebUI 的指标中导入包含 opentime, factor1, factor2 等列的 CSV 文件，这样就能在策略中展示自定义信号曲线，方便进行策略调试。","https:\u002F\u002Fgithub.com\u002Fbanbox\u002Fbanbot\u002Fissues\u002F23",{"id":166,"question_zh":167,"answer_zh":168,"source_url":164},3230,"WebUI 盈亏率显示始终为 0.0%，无法看到更精确的小数位怎么办？","这是显示精度限制问题。建议直接修改下单笔金额或初始余额，让每笔订单花费足够大，这样收益率数值自然会变大从而显示出非零值。如果调整资金后收益率仍为 0.0%，则需要分析策略本身的盈利逻辑。",[170,175,180,185,190,195,200,205,210,215,220,225,230,235,240,245,250,255,260,265],{"id":171,"version":172,"summary_zh":173,"released_at":174},102758,"v0.2.35","【新特性】\r\n支持bybit交易所\r\n支持LLM大模型接口调用\r\n支持策略内交易品种即时更新\r\n实盘启动时增加账户检查\r\nWebUI端K线页面支持指标参数修改\r\n回测卡片背景显示净值曲线\r\n\r\n【fix bugs】\r\n写入K线失败时锁错误\r\nOnOrderChange中开平仓价格未更新导致失败\r\nokx回测时K线下载无效导致失败\r\n\r\n【New Features】\r\nBybit Support: Integrated Bybit exchange.\r\nLLM Integration: Added support for Large Language Model API calls.\r\nDynamic Symbols: Real-time update of trading symbols within strategies.\r\nLive Startup Check: Added account verification when launching live trading.\r\nWebUI Charts: Support for modifying indicator parameters directly on the K-line page.\r\nBacktest Visualization: Equity curves are now displayed on the background of backtest cards.\r\n\r\n【Bug Fixes】\r\nLock Error: Fixed a locking issue occurring during K-line write failures.\r\nOnOrderChange: Fixed failures caused by unupdated entry\u002Fexit prices in OnOrderChange.\r\nOKX Backtesting: Resolved failures stemming from invalid K-line downloads on OKX.","2026-01-24T11:30:09",{"id":176,"version":177,"summary_zh":178,"released_at":179},102759,"v0.2.31","支持欧易交易所\r\n交易所委托长期不成交撤回本地监控\r\n","2026-01-14T08:09:09",{"id":181,"version":182,"summary_zh":183,"released_at":184},102760,"v0.2.30","支持dry-run重启时钱包余额等恢复\r\n支持WebUI从CSV导入指标显示\r\n\r\nfix bugs：\r\n提现金额处理不正确\r\n限价单提交后StopBars失效\r\n死锁","2026-01-09T10:06:37",{"id":186,"version":187,"summary_zh":188,"released_at":189},102761,"v0.2.28","* Supports setting\u002Fcanceling trailing stop loss on the exchange side. \r\n* Hourly candlestick charts are not retrieved through the spider (to avoid delays caused by too many large-timeframe instruments). \r\n* Fixes the possibility of passing completed orders to OnBar.\r\n\r\n* 支持设置\u002F取消交易所端跟踪止损\r\n* 小时K线不经过spider获取（避免过多大周期品种导致延迟）\r\n* fix可能传入已完成订单到OnBar中","2025-12-03T12:05:24",{"id":191,"version":192,"summary_zh":193,"released_at":194},102762,"v0.2.25","【fix bug】\r\n修复sqlite database is locked问题\r\n订单退出时如未成交自动删除\r\n","2025-11-16T08:53:23",{"id":196,"version":197,"summary_zh":198,"released_at":199},102757,"v0.3.1","时序数据库从TimeScaledb切换为questdb。无感自动安装、写入性能提升8倍、读取性能下降10%；\r\n","2026-02-10T12:13:55",{"id":201,"version":202,"summary_zh":203,"released_at":204},102763,"v0.2.24","Please do not download banbot from the Releases page. You can quickly try it out using Docker or build it locally by following the documentation. This page only provides the front-end static assets file (`dist.zip`).\r\n\r\nBanbot will download this file automatically on startup. Alternatively, you can download it manually, unzip it into your `BanDataDir` directory, and rename the resulting folder to `uidist` (ensure `uidist\u002Findex.html` exists). Finally, create a `version.txt` file in that directory and write the current version number inside it.\r\n\r\n**New Features**\r\n\r\n* Support for specifying a finer execution\u002Fmatching interval (`refine_tf`)\r\n* Support for custom instrument filters\r\n* Toggle for parallel `OnBar` execution: `core.ParallelOnBar`\r\n* Backtesting now shows Top-10 maximum drawdowns\r\n* Live-trading periodic backtest reports now support file attachments\r\n\r\n**Bug Fixes**\r\n\r\n* Skip invalid instruments during backtests\r\n* Fixed occasional mis-matched orders in dry-run mode\r\n* Resolved several issues in live trading\r\n\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n【新特性】\r\n支持指定更小撮合周期：refine_tf\r\n支持自定义品种过滤器\r\n支持OnBar并行开关：core.ParallelOnBar\r\n支持回测显示最大回撤Top10\r\n实盘定期回测报告支持附件\r\n\r\n【fix bug】\r\n回测时跳过无效品种\r\ndry-run个别订单误撮合\r\n解决实盘若干bug","2025-11-15T08:58:32",{"id":206,"version":207,"summary_zh":208,"released_at":209},102764,"v0.2.23","Please do not download banbot from the Releases page. You can quickly try it out using Docker or build it locally by following the documentation. This page only provides the front-end static assets file (`dist.zip`).\r\n\r\nBanbot will download this file automatically on startup. Alternatively, you can download it manually, unzip it into your `BanDataDir` directory, and rename the resulting folder to `uidist` (ensure `uidist\u002Findex.html` exists). Finally, create a `version.txt` file in that directory and write the current version number inside it.\r\n\r\n【New Features】\r\n* Support for Telegram notifications, thanks to @wynnforthework \r\n* Support for high-frequency backtesting (only trades for now, not support currently: unfinishi kline, order book), thanks to @EthanShang8989 \r\n* Support for the `OnStratExit` exit callback\r\n\r\n【Bug Fixes】\r\n* Fixed flawed logic in take-profit\u002Fstop-loss validation.\r\n* Resolved cache write permission errors on Linux.\r\n* Fixed excessive K-line (candlestick) data downloads during backtest refreshes for periodic symbols.\r\n* Enabled placing new orders immediately after switching symbols.\r\n* Corrected an issue where leverage tiers were fetched using an invalid account.\r\n* Implemented order submission retries when the exchange returns a 503 error.\r\n* Fixed a bug that triggered duplicate order submissions.\r\n* Resolved a bug that could lead to incorrect current price fetching.\r\n* Addressed frequent \"database is busy\" errors from SQLite writes.\r\n* Reduced high K-line (candlestick) latency when the spider is monitoring a large number of symbols.\r\n\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n【新特性】\r\n* 支持telegram通知  感谢 @wynnforthework \r\n* 支持高频回测（仅支持逐笔交易，尚未支持：未完成K线、订单簿深度）  感谢 @EthanShang8989 \r\n* 支持OnStratExit退出回调\r\n\r\n【fix bug】\r\n* 止盈止损检查是否合理\r\n* linux下写入缓存无权限\r\n* 定期品种刷新回测时下载K线范围过多\r\n* 支持品种切换时允许继续开单\r\n* 杠杆分层误用无效账户获取\r\n* 交易所503时重试提交订单\r\n* 触发订单重复提交\r\n* 当前价格获取可能错误bug\r\n* sqlite写入容易报busy问题\r\n* spider品种较多时k线延迟较大问题","2025-11-02T12:29:27",{"id":211,"version":212,"summary_zh":213,"released_at":214},102765,"v0.2.22","Notice: Please avoid downloading BanBot from the Release section. You can quickly experience it via Docker or follow the documentation for local builds.  This repository only provides frontend static resource files (dist.zip). BanBot will automatically download these files upon startup. Alternatively, you can manually download and extract them into the BanDataDir directory, renaming the folder to uidist (ensure uidist\u002Findex.html exists). Then, create a version.txt file and write the current version number inside.  \r\n\r\n【Supported Features】\r\nUpdate the backtesting report page.\r\nSupport entry by trigger price (stop order) `EnterReq.Stop`.\r\nSupport HedgeOff mode (one-way position).\r\nSupport time filtering and sorting for the order list in WebUI.\r\nSupport OrderTypeLimitMaker for maker-only orders.\r\nBanIO supports encryption & byte stream transmission.\r\nSupport updating core.Price from high-frequency data.\r\n\r\n【Bug Fixes】\r\nResolved the occasional crash of the spider.\r\nFixed several crashes caused by concurrent read\u002Fwrite operations.\r\nFixed an occasional error with 3D-period K-lines when refreshing symbols in backtesting.\r\nFixed an incorrect wallet calculation caused by identical keys when placing multiple orders with the same tag within a single bar.\r\nFixed an incorrect fee calculation for entry limit orders, simplifying the limit order logic.\r\nAdded a check for memory leaks caused by NewSeries.\r\nFixed an issue where limit exit orders were not taking effect.\r\nResolved two deadlock issues.\r\nFixed several minor UI errors.\r\n\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n【支持特性】\r\n更新回测报告页面\r\n支持触发价格入场（止损订单）`EnterReq.Stop`\r\n支持单侧持仓（HedgeOff）模式\r\n支持WebUI订单列表时间筛选和排序。\r\n支持OrderTypeLimitMaker只做maker订单\r\nBanIO支持加密&字节流传输\r\n支持从高频数据更新core.Price\r\n\r\n【fix bug】\r\n解决spider偶发闪退\r\n解决若干并发读写闪退\r\n解决回测刷新品种时3d周期K线偶发错误\r\n同一个bar相同tag多次下单key相同导致钱包计算错误\r\n解决入场限价单手续费计算错误，简单化限价单逻辑\r\n新增检查NewSeries导致内存泄露\r\n限价退出未生效\r\n解决2个死锁问题\r\n解决若干UI细节错误\r\n","2025-09-13T10:31:51",{"id":216,"version":217,"summary_zh":218,"released_at":219},102766,"v0.2.21","Notice: Please avoid downloading BanBot from the Release section. You can quickly experience it via Docker or follow the documentation for local builds.  This repository only provides frontend static resource files (dist.zip). BanBot will automatically download these files upon startup. Alternatively, you can manually download and extract them into the BanDataDir directory, renaming the folder to uidist (ensure uidist\u002Findex.html exists). Then, create a version.txt file and write the current version number inside.  \r\n\r\n【Supported Features】\r\nSupport using environment variables in yaml\r\nSupport offline mode backtesting -net-off\r\nOnBar changed to asynchronous execution\r\nSupport generating net value curve from detail.json\r\nCommand line and all places in yml support the abbreviated format of pair with only currency name\r\nSupport correct matching of dry-run market price\u002Flimit price\r\n\r\n【Fixed Bugs】\r\nIncorrect deduction of wallet fees resulting in wrong profits for some orders\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n【支持特性】\r\n支持yaml中使用环境变量\r\n支持离线模式回测-net-off\r\nOnBar改为异步执行\r\n支持从detail.json中生成净值曲线\r\n命令行和yml所有地方支持pair的简写仅币种名格式\r\n支持dry-run市价\u002F限价正确撮合成交\r\n\r\n\r\n【fix bug】\r\n钱包扣减手续费错误导致部分订单收益错误\r\n","2025-08-12T06:01:15",{"id":221,"version":222,"summary_zh":223,"released_at":224},102767,"v0.2.20","Notice: Please avoid downloading BanBot from the Release section. You can quickly experience it via Docker or follow the documentation for local builds.  This repository only provides frontend static resource files (dist.zip). BanBot will automatically download these files upon startup. Alternatively, you can manually download and extract them into the BanDataDir directory, renaming the folder to uidist (ensure uidist\u002Findex.html exists). Then, create a version.txt file and write the current version number inside.  \r\n\r\nSupported Features\r\n\r\n• (WIP) K-line calculation indicators  \r\n• Support for instrument abbreviations  \r\n• Additional arbitrary parameters in run_policy  \r\n\r\nBug Fixes\r\n\r\n• Local orders not being tracked after live trading restart  \r\n• Periodic instrument refresh failure for multiple accounts with different instruments  \r\n• Missing localization message files  \r\n\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n【支持特性】\r\n未完成K线计算指标\r\n支持品种简写\r\n支持run_policy额外任意参数\r\n\r\n【fix bug】\r\n实盘重启后本地订单未跟踪\r\n多账户不同品种定期刷新品种失败\r\n语言消息文件缺失\r\n","2025-07-16T12:10:41",{"id":226,"version":227,"summary_zh":228,"released_at":229},102768,"v0.2.18","Please do not download banbot from Release. You can quickly experience it via Docker or perform local construction according to the documentation. Only the frontend static resource file `dist.zip` is provided here. banbot will automatically download it during startup. You can also manually download and unzip it to the `BanDataDir` directory, rename it to `uidist` (ensure that `uidist\u002Findex.html` exists), and then create a `version.txt` file to write the current version number.  \r\n\r\n**[Supported Features]**\r\n* Backtesting without ApiKey\r\n* Email notification\r\n* Automatic logging of open\u002Fclose position parameters with error return\r\n\r\n**[Live Trading Features]**\r\n* Regular automatic backtesting comparison for live trading orders with email reports\r\n* Automatic dumping of live trading strategy outputs logs\r\n* Recording of live trading exchange orders to gobs files\r\n* Deadlock detection enabled by default for live trading\r\n* Crawler modified to fetch K-lines at exact hours to avoid occasional WebSocket instability or excessive traffic consumption\r\n* Cron triggers using NTP precise time\r\n\r\n**[Bug Fixes]**\r\n* SQLite lock error when closing multiple positions simultaneously in live trading\r\n* Time period overflow when synchronizing orders in live trading\r\n* 404 error when downloading compiled WebUI\r\n\r\n**[Others]**\r\n* Set the tag of the last incomplete bar exit in backtesting to BotStop\r\n* Support K-line correctness check (test_live_bars) for live trading dump\r\n\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n【支持特性】\r\n* 回测无需ApiKey\r\n* 邮件通知\r\n* 开平仓Log参数自动记录返回错误\r\n\r\n【实盘特性】\r\n* 实盘定期自动回测对比订单并发送邮件报告\r\n* 实盘策略Outputs日志自动转储\r\n* 实盘交易所订单记录到gobs文件\r\n* 实盘默认启用死锁检测\r\n* 爬虫改整点获取k线，避免ws偶发不稳定或流量耗用太多\r\n* cron触发使用ntp精确时间\r\n\r\n【fix bug】\r\n实盘同时平仓多个订单时sqlite锁错误\r\n实盘同步订单时时间段溢出\r\nWebUI编译后下载404\r\n\r\n【其他】\r\n回测将最后未完成bar出场的Tag置为BotStop\r\n支持实盘dump的K线正确性检查test_live_bars\r\n","2025-06-20T13:21:42",{"id":231,"version":232,"summary_zh":233,"released_at":234},102769,"v0.2.17","Please do not download banbot from Release. You can quickly experience it via Docker or perform local construction according to the documentation. Only the frontend static resource file `dist.zip` is provided here. banbot will automatically download it during startup. You can also manually download and unzip it to the `BanDataDir` directory, rename it to `uidist` (ensure that `uidist\u002Findex.html` exists), and then create a `version.txt` file to write the current version number.  \r\n\r\n- Support high-frequency data callbacks: K-lines, tick data, order books  \r\n- Support deleting backtesting reports via WebUI  \r\n- Support blacklist filtering during dynamic variety screening  \r\n- Support calling OnBatchJobs\u002FOnBatchInfos during the warm-up phase  \r\n- Support attaching additional information to orders when opening positions  \r\n- Beautification of order details in the UI  \r\n- Fix missing first K-line data in real trading large-period aggregation  \r\n- Solve data race conditions caused by concurrent warm-up  \r\n- Fix errors in local order status recovery during real trading restarts  \r\n- Fix several other bugs\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n* 支持高频数据回调：K线、逐笔、订单簿\r\n* 支持WebUI删除回测报告\r\n* 支持品种动态筛选时黑名单过滤\r\n* 支持预热阶段调用OnBatchJobs\u002FOnBatchInfos\r\n* 支持开单时附加额外信息到订单\r\n* UI中订单详情美化\r\n* 解决实盘大周期聚合首个K线数据缺失\r\n* 解决并发预热导致数据竞态\r\n* 解决实盘重启时本地订单状态恢复错误\r\n* 解决若干其他bug","2025-05-26T12:54:06",{"id":236,"version":237,"summary_zh":238,"released_at":239},102770,"v0.2.16","Please do not download the banbot from the Release. You can quickly experience it via Docker or build it locally according to the documentation. Only the front-end static resource file `dist.zip` is provided here. The banbot will automatically download it during startup. You can also manually download and unzip it to the `BanDataDir` directory, rename it to `uidist` (make sure `uidist\u002Findex.html` exists), and then create a `version.txt` file and write the current version number into it.\r\n\r\n* Support for triggering strategy callbacks via PostApi.\r\n* Support for opening and closing positions in order event callbacks.\r\n* Support for listening to and modifying subscribed varieties through OnSymbols.\r\n* New `bt_result` command to rebuild and output the backtest report from the order gob.\r\n* Complete the `bt_factor` command to perform a rolling backtest of varieties screened by factors based on the order gob of all varieties.\r\n* Add the win rate and time period at the end of the backtest report.\r\n* Support for dumping complete stdout\u002Fstderr logs.\r\n* Support for `pairmgr.use_latest` to refresh the variety list using the latest time.\r\n* Change the Sharpe and Sortino ratios to daily frequency, and change the risk-free interest rate from 0.02 to 0, which is consistent with most platforms.\r\n* Output strategy tasks by account during startup.\r\n* Remove the logic that a limit order filled within 60 seconds of entry is regarded as a market order.\r\n* Support for directly triggering take profit and stop loss to avoid statistical comparison.\r\n* The StdDev indicator returns a single value.\r\n* Solve the panic when the ws connection is unstable.\r\n* Solve the error of InOutOrder.SetEnterLimit.\r\n\r\nDashboard\r\n* Solve the incorrect status of the robot during login.\r\n* Solve the incorrect display of the balance. \r\n\r\n\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n\r\n* 支持PostApi触发策略回调\r\n* 支持订单事件回调中开平仓\r\n* 支持OnSymbols监听订阅品种并修改\r\n* 新增`bt_result`命令从订单gob重建输出回测报告\r\n* 完成`bt_factor`命令从全量品种订单gob根据因子筛选品种滚动回测。\r\n* 回测报告尾部输出增加胜率、时间周期\r\n* 支持stdout\u002Fstderr完整日志转储\r\n* 支持pairmgr.use_latest使用最新时间刷新品种列表\r\n* 夏普和sortino改为日频，无风险利率从0.02改为0和大多数平台保持一致\r\n* 启动时按账户输出策略任务\r\n* 移除入场60s内限价单成交被视为市价单逻辑\r\n* 支持止盈止损直接触发避免统计对比\r\n* 解决限价单止盈出场未生效\r\n* StdDev指标返回单个\r\n* 解决ws连接不稳定时panic\r\n* 解决InOutOrder.SetEnterLimit错误\r\n\r\n\r\nDashboard\r\n* 解决登录时机器人状态错误\r\n* 解决余额显示不正确\r\n","2025-05-13T11:15:21",{"id":241,"version":242,"summary_zh":243,"released_at":244},102771,"v0.2.14","Do not download banbot from Release. You can quickly experience it via Docker or build it locally according to the documentation. Here, we only provide the front-end static resource file `dist.zip`, which banbot will automatically download at startup. You can also manually download and extract it to the `BanDataDir` directory, rename it to `uidist` (ensure that `uidist\u002Findex.html` exists), and then create a `version.txt` file, writing the current version number into it.\r\n\r\n* Support for storing the active buy volume of K-line\r\n* Support for passing in the last part of ClientOrderID\r\n* Fix the issue where OnBatchJobs and OnBatchInfos cannot access orders\r\n* Fix the inaccurate time in OnOrderChange, OnBatchJobs, and OnBatchInfos during backtesting\r\n* Fix the merge error caused by the first-line comment in yml\r\n* Fix the confusion triggered by the inability to distinguish Name when multiple versions of the same strategy are running simultaneously\r\n* Fix the spelling error of enable in api_server\r\n* Automatically redirect to Dashboard UI when the WebUI is opened in real trading\r\n* Fix the issue where order trajectory cannot follow the K-line movement when adding indicators in order analysis\r\n* Fix several other errors\r\n\r\n**Note:**\r\n\r\n1. The K-line currently supports storing the active buy volume, which only takes effect for newly downloaded data. You can delete historical data to trigger a re-download.\r\n2. The issue of mistakenly storing incomplete K-lines when downloading K-lines in previous versions has been fixed in v0.2.13, and it only takes effect for newly downloaded K-lines going forward.\r\n\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n* 支持存储K线的主动买入量\r\n* 支持传入ClientOrderID末尾部分\r\n* 解决OnBatchJobs和OnBatchInfos无法访问订单\r\n* 解决回测时OnOrderChange、OnBatchJobs和OnBatchInfos中时间不准确\r\n* 解决yml首行注释导致合并错误\r\n* 解决同一策略多个版本同时运行时Name无法区分导致触发混乱\r\n* 解决api_server的enable拼写错误\r\n* 实盘打开WebUI自动跳转Dashboard UI\r\n* 解决订单分析添加指标时订单轨迹无法跟随K线移动\r\n* 解决若干其他错误\r\n\r\n注意：\r\n1. K线目前支持存储主动买入量，仅对新下载的生效，您可删除历史数据触发重新下载。\r\n2. 之前的版本中下载K线时会误存储未完成K线，此问题已在v0.2.13中修复，仅对后续新下载的K线生效。","2025-04-27T08:53:56",{"id":246,"version":247,"summary_zh":248,"released_at":249},102772,"v0.2.13","**Do not download banbot from Release.** You can quickly experience it via Docker or build it locally according to the documentation. Here, only the front-end static resource file `dist.zip` is provided. Banbot will automatically download it upon startup. You can also manually download and extract it to the `BanDataDir` directory, rename it to `uidist` (ensure that `uidist\u002Findex.html` exists), and then create a `version.txt` file, writing the current version number into it.\r\n\r\n* Deadlock detection is disabled by default.\r\n* Downloading incomplete K-lines by mistake and storing them in the database #45\r\n* When backtesting to the latest time, the last incomplete K-line is not processed #46\r\n* Support for saving important data during live trading\r\n\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n* 默认禁止死锁检测\r\n* 误下载未完成K线并入库 #45\r\n* 回测到最新时间是，最后一个未完成K线未处理 #46\r\n* 支持实盘时保存重要数据\r\n","2025-04-21T14:23:21",{"id":251,"version":252,"summary_zh":253,"released_at":254},102773,"v0.2.12","Please do not download banbot from the Release. You can quickly experience it via Docker or build it locally according to the documentation. Here, only the front-end static resource file `dist.zip` is provided. Banbot will automatically download it upon startup. You can also manually download and extract it to the `BanDataDir` directory, rename it to `uidist` (ensure that `uidist\u002Findex.html` exists), and then create a `version.txt` file, writing the current version number into it.\r\n\r\n* For domestic users, the front-end resources are supported to be downloaded from Gitee by default.\r\n* Fix the incorrect IsDocker judgment in the new version of Docker.\r\n* When Docker starts, additional configurations are automatically saved to prevent loss during online backtesting.\r\n* Support setting default stop-loss for strategies.\r\n\r\n[Live Trading]\r\n* Fix the issue of incorrect handling when the number of varieties for multiple users is inconsistent in relay entry.\r\n* Resolve two deadlock bugs.\r\n* If K-line data times out and is not received, all positions will be closed.\r\n* Fix the bug where the `live close_order` command does not close the order.\r\n\r\n[WebUI]\r\n* Order analysis now supports loading orders based on the actual K-line range, with a maximum of 500 orders.\r\n* Compilation check and reminder before backtesting.\r\n* Data gaps now support displaying \"No Data Available\".\r\n* Improved code editor with auto-completion.\r\n* Automatically open the strategy after creation.\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n* 国内用户支持默认从gitee下载前端资源\r\n* 解决IsDocker判断错误在新版docker中\r\n* docker启动时，自动保存额外配置，避免在线回测时丢失\r\n* 支持策略设置默认止损\r\n\r\n[实盘]\r\n* fix接力入场对多用户品种数不一致时处理不正确\r\n* 解决两个死锁bug\r\n* K线超时未收到，全部平仓\r\n* 解决cmd `live close_order`未平仓bug\r\n\r\n[WebUI]\r\n* 订单分析支持根据实际K线范围加载订单，最多500个\r\n* 回测前检查并提醒编译\r\n* 数据缺口支持显示“确无数据”\r\n* 代码编辑器自动补全完善\r\n* 创建策略后自动打开\r\n","2025-04-15T02:32:08",{"id":256,"version":257,"summary_zh":258,"released_at":259},102774,"v0.2.11","Do not download banbot from Release. You can quickly experience it via Docker or build it locally according to the documentation. Here, only the front-end static resource file `dist.zip` is provided, which will be automatically downloaded when banbot starts. You can also manually download and extract it to the `BanDataDir` directory, rename it to `uidist` (ensure that `uidist\u002Findex.html` exists), and then create a `version.txt` file, writing the current version number into it.\r\n\r\n* Standardize error codes\r\n* Command line: Output the list of registered strategies\r\n* Record the number of orders not entered due to quantity limits\r\n* Backtest results output the final balance and final withdrawal\r\n* Support downloading cached exchange orders\r\n* [Live trading] Aggregate large timeframes from 1h instead of 1m to avoid inconsistencies with backtesting due to data errors\r\n* [Live trading] Aggregate large timeframe K-lines from 1h to avoid potential inconsistencies with backtesting\r\n* [Live trading] Fix occasional incorrect order status updates\r\n* [Websocket] Automatically re-subscribe on message timeout\r\n\r\n[WebUI]\r\n* Run backtest directly from global configuration\r\n* Clicking backtest defaults to showing the new backtest page\r\n* Support displaying\u002Ffiltering the list of registered strategies\r\n* Upgrade front-end related dependencies\r\n\r\n[Dashboard UI]\r\n* Fix the error when the \"prohibit opening orders for n hours\" interface is called\r\n* Support batch loading and displaying logs\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号。\r\n\r\n* 规范化错误代码\r\n* 命令行：输出已注册策略列表\r\n* 记录因数量限制未入场的订单数量\r\n* 回测结果输出最终余额、最终提现\r\n* 支持下载缓存交易所订单\r\n* [实盘]对大周期从1h归集而非1m归集，避免数据错误导致与回测不一致\r\n* [实盘]大周期K线从1h聚合，避免和回测可能不一致\r\n* [实盘]解决订单状态偶发更新不正确问题\r\n* [websocket]消息超时自动重新订阅\r\n\r\n[WebUI]\r\n* 直接从全局配置运行回测\r\n* 点击回测默认显示开始新回测页面\r\n* 支持显示\u002F筛选已注册策略列表\r\n* 升级前端相关依赖\r\n\r\n[Dashboard UI]\r\n* 解决禁止开单n小时接口报错\r\n* 支持日志分批加载显示\r\n","2025-04-12T12:31:12",{"id":261,"version":262,"summary_zh":263,"released_at":264},102775,"v0.2.8","Please do not download banbot from the Release section. You can quickly experience it via Docker or build it locally according to the documentation. Here, only the front-end static resource file `dist.zip` is provided. Banbot will automatically download it upon startup. You can also manually download and extract it to the `BanDataDir` directory, rename it to `uidist` (ensure that `uidist\u002Findex.html` exists), and then create a `version.txt` file, in which you should write the current version number (without the \"v\").\r\n\r\n* Fix compilation failure within Docker\r\n* Support automatic application of database schema changes\r\n* Supports automatic reading of system proxy settings.\r\n* [Live trading] Regularly synchronize positions to prevent partial closing of positions due to duplicate local orders\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号（不含v）。\r\n\r\n* 解决docker内编译失败\r\n* 支持自动应用数据库架构变化\r\n* 支持自动读取系统代理设置\r\n* [实盘]定期同步仓位本地订单重复导致误部分平仓\r\n","2025-03-27T08:13:25",{"id":266,"version":267,"summary_zh":268,"released_at":269},102776,"v0.2.7","Do not download banbot from Release. You can quickly experience it via docker or build it locally as per the documentation. Here, only the frontend static resource file `dist.zip` is provided. Banbot will automatically download it upon startup. Alternatively, you can manually download and unzip it into the `BanDataDir` directory, renaming it to `uidist` (ensure `uidist\u002Findex.html` exists). Then, create a `version.txt` file and write the current version number (without the \"v\").\r\n\r\n* Fix the issue of crawler spot mis-saving 1s period K-line\r\n* Support NTP accurate time (not enabled by default, can be enabled via ntp_lang_code)\r\n* Fix occasional data insertion errors\r\n* Update go-bayesopt\r\n* WebUI startup defaults to not attempting to connect to crawler\r\n\r\n请勿从Release下载banbot，您可从docker快速体验或按文档进行本地构建。这里仅提供前端静态资源文件`dist.zip`，banbot启动时会自动下载，您也可以手动下载并解压到`BanDataDir`目录下，重命名为`uidist`（确保`uidist\u002Findex.html`存在），然后创建`version.txt`文件，写入当前版本号（不含v）。\r\n\r\n* 解决爬虫现货误保存1s周期K线\r\n* 支持ntp准确时间（默认不启用，可通过ntp_lang_code启用）\r\n* 解决偶发数据插入已存在错误\r\n* 更新go-bayesopt\r\n* WebUI启动默认不尝试连接爬虫","2025-03-21T10:35:39"]