# Graph Report - sanguo_vnpy (2026-05-06) ## Corpus Check - 204 files · ~93,801 words - Verdict: corpus is large enough that graph structure adds value. ## Summary - 1996 nodes · 2268 edges · 241 communities (227 shown, 14 thin omitted) - Extraction: 95% EXTRACTED · 5% INFERRED · 0% AMBIGUOUS · INFERRED: 121 edges (avg confidence: 0.78) - Token cost: 0 input · 0 output ## Graph Freshness - Built from commit: `da407f4f` - Run `git rev-parse HEAD` and compare to check if the graph is stale. - Run `graphify update .` after code changes (no API cost). ## Community Hubs (Navigation) - [[_COMMUNITY_Community 0|Community 0]] - [[_COMMUNITY_Community 1|Community 1]] - [[_COMMUNITY_Community 2|Community 2]] - [[_COMMUNITY_Community 3|Community 3]] - [[_COMMUNITY_Community 4|Community 4]] - [[_COMMUNITY_Community 5|Community 5]] - [[_COMMUNITY_Community 6|Community 6]] - [[_COMMUNITY_Community 7|Community 7]] - [[_COMMUNITY_Community 8|Community 8]] - [[_COMMUNITY_Community 9|Community 9]] - [[_COMMUNITY_Community 10|Community 10]] - [[_COMMUNITY_Community 11|Community 11]] - [[_COMMUNITY_Community 12|Community 12]] - [[_COMMUNITY_Community 13|Community 13]] - [[_COMMUNITY_Community 14|Community 14]] - [[_COMMUNITY_Community 15|Community 15]] - [[_COMMUNITY_Community 16|Community 16]] - [[_COMMUNITY_Community 17|Community 17]] - [[_COMMUNITY_Community 18|Community 18]] - [[_COMMUNITY_Community 19|Community 19]] - [[_COMMUNITY_Community 20|Community 20]] - [[_COMMUNITY_Community 21|Community 21]] - [[_COMMUNITY_Community 22|Community 22]] - [[_COMMUNITY_Community 23|Community 23]] - [[_COMMUNITY_Community 24|Community 24]] - [[_COMMUNITY_Community 25|Community 25]] - [[_COMMUNITY_Community 26|Community 26]] - [[_COMMUNITY_Community 27|Community 27]] - [[_COMMUNITY_Community 28|Community 28]] - [[_COMMUNITY_Community 29|Community 29]] - [[_COMMUNITY_Community 30|Community 30]] - [[_COMMUNITY_Community 31|Community 31]] - [[_COMMUNITY_Community 32|Community 32]] - [[_COMMUNITY_Community 33|Community 33]] - [[_COMMUNITY_Community 34|Community 34]] - [[_COMMUNITY_Community 35|Community 35]] - [[_COMMUNITY_Community 36|Community 36]] - [[_COMMUNITY_Community 37|Community 37]] - [[_COMMUNITY_Community 38|Community 38]] - [[_COMMUNITY_Community 39|Community 39]] - [[_COMMUNITY_Community 40|Community 40]] - [[_COMMUNITY_Community 41|Community 41]] - [[_COMMUNITY_Community 42|Community 42]] - [[_COMMUNITY_Community 43|Community 43]] - [[_COMMUNITY_Community 44|Community 44]] - [[_COMMUNITY_Community 45|Community 45]] - [[_COMMUNITY_Community 46|Community 46]] - [[_COMMUNITY_Community 47|Community 47]] - [[_COMMUNITY_Community 48|Community 48]] - [[_COMMUNITY_Community 49|Community 49]] - [[_COMMUNITY_Community 50|Community 50]] - [[_COMMUNITY_Community 51|Community 51]] - [[_COMMUNITY_Community 52|Community 52]] - [[_COMMUNITY_Community 53|Community 53]] - [[_COMMUNITY_Community 54|Community 54]] - [[_COMMUNITY_Community 55|Community 55]] - [[_COMMUNITY_Community 56|Community 56]] - [[_COMMUNITY_Community 57|Community 57]] - [[_COMMUNITY_Community 58|Community 58]] - [[_COMMUNITY_Community 59|Community 59]] - [[_COMMUNITY_Community 60|Community 60]] - [[_COMMUNITY_Community 61|Community 61]] - [[_COMMUNITY_Community 62|Community 62]] - [[_COMMUNITY_Community 63|Community 63]] - [[_COMMUNITY_Community 64|Community 64]] - [[_COMMUNITY_Community 65|Community 65]] - [[_COMMUNITY_Community 66|Community 66]] - [[_COMMUNITY_Community 67|Community 67]] - [[_COMMUNITY_Community 68|Community 68]] - [[_COMMUNITY_Community 69|Community 69]] - [[_COMMUNITY_Community 70|Community 70]] - [[_COMMUNITY_Community 71|Community 71]] - [[_COMMUNITY_Community 72|Community 72]] - [[_COMMUNITY_Community 73|Community 73]] - [[_COMMUNITY_Community 74|Community 74]] - [[_COMMUNITY_Community 75|Community 75]] - [[_COMMUNITY_Community 76|Community 76]] - [[_COMMUNITY_Community 77|Community 77]] - [[_COMMUNITY_Community 78|Community 78]] - [[_COMMUNITY_Community 79|Community 79]] - [[_COMMUNITY_Community 80|Community 80]] - [[_COMMUNITY_Community 81|Community 81]] - [[_COMMUNITY_Community 82|Community 82]] - [[_COMMUNITY_Community 83|Community 83]] - [[_COMMUNITY_Community 84|Community 84]] - [[_COMMUNITY_Community 85|Community 85]] - [[_COMMUNITY_Community 86|Community 86]] - [[_COMMUNITY_Community 87|Community 87]] - [[_COMMUNITY_Community 88|Community 88]] - [[_COMMUNITY_Community 89|Community 89]] - [[_COMMUNITY_Community 90|Community 90]] - [[_COMMUNITY_Community 91|Community 91]] - [[_COMMUNITY_Community 92|Community 92]] - [[_COMMUNITY_Community 93|Community 93]] - [[_COMMUNITY_Community 94|Community 94]] - [[_COMMUNITY_Community 95|Community 95]] - [[_COMMUNITY_Community 96|Community 96]] - [[_COMMUNITY_Community 97|Community 97]] - [[_COMMUNITY_Community 98|Community 98]] - [[_COMMUNITY_Community 99|Community 99]] - [[_COMMUNITY_Community 100|Community 100]] - [[_COMMUNITY_Community 101|Community 101]] - [[_COMMUNITY_Community 102|Community 102]] - [[_COMMUNITY_Community 103|Community 103]] - [[_COMMUNITY_Community 104|Community 104]] - [[_COMMUNITY_Community 105|Community 105]] - [[_COMMUNITY_Community 106|Community 106]] - [[_COMMUNITY_Community 107|Community 107]] - [[_COMMUNITY_Community 108|Community 108]] - [[_COMMUNITY_Community 109|Community 109]] - [[_COMMUNITY_Community 110|Community 110]] - [[_COMMUNITY_Community 111|Community 111]] - [[_COMMUNITY_Community 112|Community 112]] - [[_COMMUNITY_Community 113|Community 113]] - [[_COMMUNITY_Community 114|Community 114]] - [[_COMMUNITY_Community 115|Community 115]] - [[_COMMUNITY_Community 116|Community 116]] - [[_COMMUNITY_Community 117|Community 117]] - [[_COMMUNITY_Community 118|Community 118]] - [[_COMMUNITY_Community 119|Community 119]] - [[_COMMUNITY_Community 120|Community 120]] - [[_COMMUNITY_Community 121|Community 121]] - [[_COMMUNITY_Community 122|Community 122]] - [[_COMMUNITY_Community 123|Community 123]] - [[_COMMUNITY_Community 124|Community 124]] - [[_COMMUNITY_Community 125|Community 125]] - [[_COMMUNITY_Community 126|Community 126]] - [[_COMMUNITY_Community 127|Community 127]] - [[_COMMUNITY_Community 128|Community 128]] - [[_COMMUNITY_Community 129|Community 129]] - [[_COMMUNITY_Community 130|Community 130]] - [[_COMMUNITY_Community 131|Community 131]] - [[_COMMUNITY_Community 132|Community 132]] - [[_COMMUNITY_Community 133|Community 133]] - [[_COMMUNITY_Community 134|Community 134]] - [[_COMMUNITY_Community 135|Community 135]] - [[_COMMUNITY_Community 136|Community 136]] - [[_COMMUNITY_Community 137|Community 137]] - [[_COMMUNITY_Community 138|Community 138]] - [[_COMMUNITY_Community 139|Community 139]] - [[_COMMUNITY_Community 140|Community 140]] - [[_COMMUNITY_Community 141|Community 141]] - [[_COMMUNITY_Community 142|Community 142]] - [[_COMMUNITY_Community 143|Community 143]] - [[_COMMUNITY_Community 144|Community 144]] - [[_COMMUNITY_Community 145|Community 145]] - [[_COMMUNITY_Community 146|Community 146]] - [[_COMMUNITY_Community 147|Community 147]] - [[_COMMUNITY_Community 148|Community 148]] - [[_COMMUNITY_Community 149|Community 149]] - [[_COMMUNITY_Community 150|Community 150]] - [[_COMMUNITY_Community 151|Community 151]] - [[_COMMUNITY_Community 152|Community 152]] - [[_COMMUNITY_Community 153|Community 153]] - [[_COMMUNITY_Community 154|Community 154]] - [[_COMMUNITY_Community 155|Community 155]] - [[_COMMUNITY_Community 156|Community 156]] - [[_COMMUNITY_Community 157|Community 157]] - [[_COMMUNITY_Community 158|Community 158]] - [[_COMMUNITY_Community 159|Community 159]] - [[_COMMUNITY_Community 160|Community 160]] - [[_COMMUNITY_Community 161|Community 161]] - [[_COMMUNITY_Community 162|Community 162]] - [[_COMMUNITY_Community 163|Community 163]] - [[_COMMUNITY_Community 164|Community 164]] - [[_COMMUNITY_Community 165|Community 165]] - [[_COMMUNITY_Community 166|Community 166]] - [[_COMMUNITY_Community 167|Community 167]] - [[_COMMUNITY_Community 168|Community 168]] - [[_COMMUNITY_Community 169|Community 169]] - [[_COMMUNITY_Community 170|Community 170]] - [[_COMMUNITY_Community 171|Community 171]] - [[_COMMUNITY_Community 172|Community 172]] - [[_COMMUNITY_Community 173|Community 173]] - [[_COMMUNITY_Community 239|Community 239]] ## God Nodes (most connected - your core abstractions) 1. `🚀 NAS 快速参考卡` - 24 edges 2. `三国量化团队 · edict浅集成执行流程` - 16 edges 3. `数据平台每日增量更新 — 详细设计文档` - 16 edges 4. `sanguo_vnpy群晖NAS Docker部署可行性调研报告` - 15 edges 5. `自动化回测服务设计方案` - 14 edges 6. `🎯 目标` - 14 edges 7. `ResultStorage` - 13 edges 8. `run_daily_update()` - 12 edges 9. `VnpyLocalDataAdapter` - 12 edges 10. `TaskQueue` - 12 edges ## Surprising Connections (you probably didn't know these) - `test_adapter_basic()` --calls--> `VnpyLocalDataAdapter` [INFERRED] archive/2026-04-29-cleanup/test/backtest/test_vnpy_data.py → src/adapters/vnpy_local_data_adapter.py - `test_converter()` --calls--> `DataConverter` [INFERRED] archive/2026-04-29-cleanup/test/backtest/test_vnpy_data.py → archive/2026-04-29-cleanup/scripts/utils/data_convert_tool.py - `TaskQueue` --uses--> `TaskStatus` [INFERRED] src/backtest-service/task_queue.py → src/backtest-service/models.py - `TaskQueue` --uses--> `BacktestTask` [INFERRED] src/backtest-service/task_queue.py → src/backtest-service/models.py - `TaskQueue` --uses--> `BacktestTaskWithId` [INFERRED] src/backtest-service/task_queue.py → src/backtest-service/models.py ## Communities (241 total, 14 thin omitted) ### Community 0 - "Community 0" Cohesion: 0.05 Nodes (32): health_check(), list_tasks(), # TODO: 实现物理删除, Settings, BacktestExecutor, _parse_vt_symbol(), 自动化回测服务 - 任务执行器 调用 vnpy 4.x BacktestingEngine 执行回测, 解析vt_symbol为symbol和exchange,如 '000001.SZ' → ('000001', Exchange.SZSE) (+24 more) ### Community 1 - "Community 1" Cohesion: 0.04 Nodes (46): 自动化回测服务设计方案, 1. 提交回测任务, 现有环境基础, 目录结构, 任务队列实现, 1. Dockerfile 更新, 2. 查询任务状态, 成功部署记录 - 2026-04-12 (+38 more) ### Community 2 - "Community 2" Cohesion: 0.08 Nodes (41): check_failure_rate(), code_to_baostock(), fetch_15min_with_fallback(), fetch_baostock_15min(), fetch_baostock_daily(), fetch_tencent_daily(), fetch_with_fallback(), get_15min_last_date() (+33 more) ### Community 3 - "Community 3" Cohesion: 0.06 Nodes (25): main(), main(), parse_date(), test_run_strategy_backtest(), parse_date(), str_to_interval(), test_run_strategy_backtest(), test_run_strategy_backtest() (+17 more) ### Community 4 - "Community 4" Cohesion: 0.05 Nodes (41): 调研结论摘要, ❌ 弯路1:单进程一体化架构, 1.1 模块定位, 步骤1:环境准备, 1.2 官方架构图, 1.3 核心技术栈, 1. 官方Web Trader定位与架构, 2. 常见弯路分析 (+33 more) ### Community 5 - "Community 5" Cohesion: 0.05 Nodes (36): 需求规格文档:本地数据源体系建设, 一、项目背景与核心问题, 1.1 现状, 1.2 核心问题, 1.3 目标, 三、交付物清单, 文档文件, 配置文件 (+28 more) ### Community 6 - "Community 6" Cohesion: 0.07 Nodes (20): ABC, DataSource, DataSourceManager, LocalCsvDataSource, main(), NetworkDataSource, parse_date(), vnpy SQLite数据库数据源 - 数据由赵云负责导入和更新 - 本服务只读取,不写入 - 不会覆盖已有数据 (+12 more) ### Community 7 - "Community 7" Cohesion: 0.06 Nodes (33): 一、问题复现与根因分析, 1.1 现象, 1.2 根因(5重问题), 1.3 根因4详情:vnpy 3.x → 4.x API变更, 1.4 已排除项, 四、验证步骤, 2.1 NAS硬件, 2.2 容器内环境 (+25 more) ### Community 8 - "Community 8" Cohesion: 0.06 Nodes (31): 📋 问题概述, **1. 安装缺失组件**, **问题发现**, 🔧 技术细节, **修复的关键文件**, **服务架构**, 🎯 下一步计划, **影响范围** (+23 more) ### Community 9 - "Community 9" Cohesion: 0.07 Nodes (29): ✅ 部署前检查清单, 📋 快速验证命令, 完整三步, ⚠️ 常见问题提前排查, ✅ 最终确认, 1. Container Manager (Docker) 已安装, 1️⃣ 准备文件(Mac mini), 1. NAS 挂载信息正确 (+21 more) ### Community 10 - "Community 10" Cohesion: 0.07 Nodes (29): 需求背景, 问题1:单一共享交易进程无法支持多用户隔离, 不同方案对比, 当前官方架构图回顾, 问题2:数据存储路径问题, 端口分配规划, 问题3:进程管理与稳定性, 需要改动的地方总结(很少,不改核心架构) (+21 more) ### Community 11 - "Community 11" Cohesion: 0.08 Nodes (9): check_simayi_scripts(), create_simayi_test_script(), main(), TestStrategy, SimpleTestStrategy, TestStrategy, TestStrategy, CtaTemplate (+1 more) ### Community 12 - "Community 12" Cohesion: 0.07 Nodes (27): 架构概述, 添加新用户, 目录结构, 维护命令, 查看状态, 重启进程, 停止进程(不影响他人), 设计原则 (+19 more) ### Community 13 - "Community 13" Cohesion: 0.11 Nodes (15): convert_zhaoyun_to_vnpy(), DataConvertTool, 获取本地日线数据文件路径 Args: symbol: 股票代码 year: 年, 从赵云本地数据加载日线数据 Args: symbol: 股票代码 start_, 从akshare获取日线数据(fallback方案) Args: symbol: 股票代码, 获取日线数据(优先本地,fallback akshare) Args: symbol: 股票代码, vn.py本地数据适配器 实现策略:优先本地 → fallback akshare, 验证本地数据结构是否符合vn.py要求 Args: symbol: 股票代码 (+7 more) ### Community 14 - "Community 14" Cohesion: 0.07 Nodes (26): 03 - 详细设计, 1.1 模块职责, 1.2 模块结构, 1.3 核心流程, 1.4 API接口, 1.5 任务模型, 1.6 vnpy 4.x适配要点, 1. 回测服务模块(src/backtest-service/) (+18 more) ### Community 15 - "Community 15" Cohesion: 0.07 Nodes (27): 变更1:数据源降级链重构, 14.1 变更背景, 14.2 数据源重新调研, 14.3 v2.0 核心架构变更, 14.4 执行计划, 14.5 与v1.x的兼容性, 第1步:灌入现有数据到本地vnpy DB, 第2步:重构daily_all_update.py (+19 more) ### Community 16 - "Community 16" Cohesion: 0.08 Nodes (25): 当前现状对比, 需要做的改造, 第三步:改造现有脚本, 第四步:测试验证, 优势总结, 产出物结构(在我们项目中), 目标, 架构设计 (+17 more) ### Community 17 - "Community 17" Cohesion: 0.08 Nodes (24): 聚宽社区文章爬取分析任务完成报告, 1. 性能优化, 五、关键文件说明, 主要文件, 六、任务完成确认, 完成项检查, 后续建议, 七、总结 (+16 more) ### Community 18 - "Community 18" Cohesion: 0.08 Nodes (24): 🎯 方案目标, 1. 版本冲突检测(构建前运行), 📋 使用指南, 日常使用流程, 🏗️ 方案设计, 验证脚本说明, 文件结构, 🏆 审核评分 (+16 more) ### Community 19 - "Community 19" Cohesion: 0.08 Nodes (24): 05 - 用户手册, 1. 概述, 2. 服务地址, 3. 提交回测任务, 3.1 策略代码要求, 3.2 提交请求, 3.3 Python调用示例, 3.4 curl调用示例 (+16 more) ### Community 20 - "Community 20" Cohesion: 0.08 Nodes (24): 一、背景, 1.1 P1已完成的基础, 1.2 当前数据缺口, 1.3 关键设计决策(P1已确认), 三、交付物清单, 配置文件, 文档, 四、假设与不确定项 (+16 more) ### Community 21 - "Community 21" Cohesion: 0.09 Nodes (22): 🔍 **问题分析**, **原问题**, 📊 **预期结果**, 🔧 **技术细节**, **兼容性层工作原理**, **数据格式**, **问题根源**, ✅ **最终状态** (+14 more) ### Community 22 - "Community 22" Cohesion: 0.09 Nodes (22): 04 - 部署指南, 1. 环境要求, 2. 部署架构, 3. 首次部署, 3.1 构建Docker镜像, 3.2 启动容器, 3.3 验证部署, 4. 代码更新 (+14 more) ### Community 23 - "Community 23" Cohesion: 0.09 Nodes (22): 数据迁移步骤, 步骤1:准备NAS存储目录, 访问方式配置, 浏览器书签配置, 基础安全措施, 2.1 整体架构设计, 2.2 NAS端部署步骤, 2.3 数据迁移方案 (+14 more) ### Community 24 - "Community 24" Cohesion: 0.09 Nodes (21): 自动化回测服务 - 使用说明, 1. 提交回测, 结果存储结构, 设计原则, 架构设计, 作者, 2. 查询任务状态, 概述 (+13 more) ### Community 25 - "Community 25" Cohesion: 0.1 Nodes (21): 问题10:担心安全问题,不想暴露服务, 问题1:群晖Docker套件启动失败, 问题2:ARM架构镜像兼容性问题, 问题3:NAS存储空间不足, 问题4:局域网无法访问容器服务, 问题5:访问速度慢或延迟高, 问题6:容器内无法访问NAS挂载目录, 问题7:数据库性能差 (+13 more) ### Community 26 - "Community 26" Cohesion: 0.1 Nodes (20): 10.1 可行性结论:✅ 完全可行, 10.2 推荐方案, 10.3 操作建议, 二、可行性分析, 八、稳定性评估, 九、成本估算(参考), 方案一:基础版(千兆), 方案二:高性能版(万兆) (+12 more) ### Community 27 - "Community 27" Cohesion: 0.1 Nodes (20): 最终部署架构, ✅ 问题1:pip包容器重启丢失, 2026-04-29 19:40 服务状态验证, 2026-04-29 20:00 遗留问题修复完成, 修复清单, ✅ 问题2:API路由前缀不统一, 容器内额外操作(重启后丢失), ✅ 问题3:SSH端口绑定优化 (+12 more) ### Community 28 - "Community 28" Cohesion: 0.1 Nodes (19): 📋 方案概述, 🧪 测试验证清单, 📊 常用管理命令, 🔐 安全说明, 🎯 总结, 核心特性, 🚀 三步完整部署流程, 包含的完整项目 (+11 more) ### Community 29 - "Community 29" Cohesion: 0.16 Nodes (12): generate_implementation_guide(), main(), test_adapter_basic(), test_converter(), test_data_loading(), test_integration_with_strategy(), DataConverter, main() (+4 more) ### Community 30 - "Community 30" Cohesion: 0.11 Nodes (18): 一、背景, 三、交付物清单, 数据文件, 报告, 四、假设与不确定项, 五、约束, 六、成功标准, 1.1 已完成的前置工作 (+10 more) ### Community 31 - "Community 31" Cohesion: 0.11 Nodes (17): 数据源体系建设 - 项目汇总报告, 一、项目目标, 八、数据流架构(当前状态), 二、各节点产出汇总, 3.1 数据导入, 3.2 回测验证, 3.3 解决的关键问题, 四、产出的文件清单 (+9 more) ### Community 32 - "Community 32" Cohesion: 0.21 Nodes (16): _aggregate_1m_to_15m(), download_single(), download_with_increment(), get_market_prefix(), get_stock_list(), load_progress(), main(), _make_opener() (+8 more) ### Community 33 - "Community 33" Cohesion: 0.18 Nodes (9): FallbackManager, 获取日线数据,降级链:akshare → 腾讯K线, _em_secid(), _fetch_url(), _get_prefix(), get_realtime_quote(), _parse_eastmoney(), _parse_sina() (+1 more) ### Community 34 - "Community 34" Cohesion: 0.14 Nodes (16): 总结, 概述, 优缺点分析, 适用场景, 1. 理解BaseDatafeed接口, 数据接口适配器模式, 🔧 修复方案, 核心思想 (+8 more) ### Community 35 - "Community 35" Cohesion: 0.12 Nodes (15): 一、项目定位理解, 核心目标, 操作清单, 已完成的适配成果, 关键说明, 四、预计效果, 五、需要注意的点, 远期目标 (+7 more) ### Community 36 - "Community 36" Cohesion: 0.15 Nodes (15): 1. 准备本地数据文件, **步骤1: 检查安装**, 2. 创建数据加载工具类, **步骤2: 测试回测API**, **步骤3: 运行测试脚本**, 3. 在vn.py策略中使用, 文件系统直接访问, 核心思想 (+7 more) ### Community 37 - "Community 37" Cohesion: 0.13 Nodes (15): 🎯 目标, 📊 已测试的策略, ⚠️ 数据来源说明, 1. 关羽价值技术策略, 短期目标(1-2周), 中期目标(1个月), **问题1: 回测API超时** ✅ **已修复**, 🎯 下一步计划 (+7 more) ### Community 38 - "Community 38" Cohesion: 0.19 Nodes (15): 1. 目录结构, 📊 服务总览, **1. 回测API**, 1. 访问Webtrader Backtest API, 2. 数据格式规范, 🔧 本地自动化服务, 原始数据(赵云格式), 3. 转换逻辑 (+7 more) ### Community 39 - "Community 39" Cohesion: 0.13 Nodes (14): 02 - 系统架构设计, 1. 架构总览, 2. 分层架构, 3. 核心设计决策, 3.1 适配层 vs Fork, 3.2 数据架构, 3.3 多用户隔离, 3.4 容器化部署 (+6 more) ### Community 40 - "Community 40" Cohesion: 0.15 Nodes (14): 日常管理, 📊 状态检查示例, 七、性能优化建议, 挂载点, 📋 目录结构, 日志位置, ✅ 验收清单, 📞 获取帮助 (+6 more) ### Community 41 - "Community 41" Cohesion: 0.14 Nodes (13): 数据平台每日增量更新 — 详细设计文档, 一、背景与目标, 1.1 现状, 1.2 目标, 十三、评审结果(2026-05-03 司马懿评审), 九、测试, 十一、文件清单, 十二、变更记录 (+5 more) ### Community 42 - "Community 42" Cohesion: 0.24 Nodes (11): backfill_one(), code_to_baostock(), fetch_bs_15min(), get_all_codes(), is_backfilled(), load_progress(), main(), 从BaoStock获取15min不复权数据 (+3 more) ### Community 43 - "Community 43" Cohesion: 0.15 Nodes (13): 9. 历史 Q&A 与踩坑记录, code:block18 (ssh -vvv → "kex_exchange_identification: banner line 0: Not ), code:bash (ssh admin@192.168.2.154 "/usr/local/bin/docker ps"), Q10: 为什么 code-server 没有启用?, Q1: SSH 为什么不能用 OpenSSH,要用 dropbear?, Q2: Mac 本地有一个同名废弃容器,和 NAS 容器混淆了, Q3: 为什么 entrypoint.sh 里要 pip install 而不是写进镜像?, Q4: 为什么有 `latest` 和 `with-scripts` 两个镜像? (+5 more) ### Community 44 - "Community 44" Cohesion: 0.2 Nodes (12): **1. 进入容器并安装**, 数据服务化架构, 核心思想, 实现步骤, **2. 验证修复结果**, 2. 创建vn.py端的数据访问客户端, 优缺点分析, 适用场景 (+4 more) ### Community 45 - "Community 45" Cohesion: 0.2 Nodes (12): 优缺点分析, 适用场景, ✅ 验证成功标志, 1. 创建统一的数据访问接口, 2. 在vn.py策略中使用混合数据管理, 混合模式, 核心思想, 典型混合架构 (+4 more) ### Community 46 - "Community 46" Cohesion: 0.24 Nodes (12): **📝 阶段1:创建任务(皇上操作)**, **场景:皇上让赵云做一个数据分析任务**, 1. 启动赵云任务管理器, **📋 阶段2:中书省(诸葛亮)收到通知**, 方式2:使用赵云任务管理器(自动化), 2. 管理器会自动:, **🚀 阶段5:户部(赵云)收到通知**, 🎯 使用方式 (+4 more) ### Community 47 - "Community 47" Cohesion: 0.17 Nodes (11): 📋 **第三步:完整任务流转示例**, ⚠️ 已知问题与改进方向, 已知问题, 改进方向, 📚 参考资料, 🎉 总结, **所有将军都要遵守的规则:**, 🎯 **总结:我们的浅集成方案** (+3 more) ### Community 48 - "Community 48" Cohesion: 0.17 Nodes (12): 3. 详细设计, 3.1.1 镜像分层策略, 3.1.2 当前镜像版本, 3.1 Docker 镜像设计, 3.2 容器运行设计, 3.2.1 容器启动参数, 3.2.2 Volume 挂载设计, 3.2.3 端口映射 (+4 more) ### Community 49 - "Community 49" Cohesion: 0.58 Nodes (10): advance_discussion(), conclude_session(), create_session(), demo_full_flow(), get_fate_event(), get_session(), interactive_mode(), list_officials() (+2 more) ### Community 50 - "Community 50" Cohesion: 0.18 Nodes (10): 二、文章清单, 2.1 回测框架(5篇), 2.2 实盘经验(4篇), 六、文件清单, 七、总结, 核心收获, 6.1 文章内容, 6.2 元数据 (+2 more) ### Community 51 - "Community 51" Cohesion: 0.18 Nodes (10): 量化交易系统阿里云高性价比部署方案, 四、方案选择建议, 一、系统核心组件, 部署要点:, 二、高性价比方案对比(按年计算), 方案一:入门级(适合个人/小团队策略验证), 方案二:标准级(适合稳定运行的实盘策略), 方案三:旗舰级(适合多策略、高频交易) (+2 more) ### Community 52 - "Community 52" Cohesion: 0.2 Nodes (11): 五、常用命令, 🔍 日志查看, 查看最近日志, 七、性能优化建议, 实时跟踪日志, 7.1 macOS SMB性能优化, 7.2 NAS端优化, 方案B:使用autofs(更稳定,推荐用于服务器环境) (+3 more) ### Community 53 - "Community 53" Cohesion: 0.22 Nodes (11): 📞 故障排除, 1. 数据库表结构设计, **问题1: vnpy.app模块缺失**, **问题2: 模块导入错误**, 2. 创建数据库管理类, **问题3: 运行验证脚本失败**, 3. 与vn.py集成使用, 实现步骤 (+3 more) ### Community 54 - "Community 54" Cohesion: 0.18 Nodes (11): 🔧 故障排除, 常见问题, 1. NAS服务无法访问, 日志位置, 2. API调用失败, 3. 自动化服务未运行, 4. 策略回测无结果, 5. 数据获取失败 (+3 more) ### Community 55 - "Community 55" Cohesion: 0.18 Nodes (11): Q10: 代码部署为什么要和sanguo_vnpy整合?, Q1: Parquet双写是什么意思?还需要吗?, Q2: 新浪API只能拿800条,怎么获取更长的历史?, Q3: vnpy DB的interval为什么是"1m"而不是"15m"?, Q4: 北交所107只股票怎么办?, Q5: 为什么不直接在NAS上跑脚本?, Q6: amount(成交额)数据准确性?, Q7: 每日增量更新多长时间? (+3 more) ### Community 56 - "Community 56" Cohesion: 0.2 Nodes (10): 1. 回测优化, 1. 工具开发, 1. 平台建设, 五、对框架改进的价值, 2. 文档建设, 2. 流程标准化, 2. 知识积累, 5.1 短期改进建议(1-2周) (+2 more) ### Community 57 - "Community 57" Cohesion: 0.22 Nodes (10): 一步部署(只需一次), 🚀 快速开始, 一步部署(推荐), 方法1:通过Finder挂载(推荐), 方法2:通过终端挂载, 6.1 方法一:Finder手动挂载(临时使用), 6.2 方法二:开机自动挂载(推荐)⭐, 方案A:使用自动操作(Automator)- 最简单 (+2 more) ### Community 58 - "Community 58" Cohesion: 0.2 Nodes (9): 1. 性能优化, 2. 数据质量, 📋 转换工作清单, 3. 可维护性, 第一阶段:测试转换(立即开始), 第二阶段:批量转换(测试通过后), 第三阶段:定期更新, 🔧 技术要点 (+1 more) ### Community 60 - "Community 60" Cohesion: 0.22 Nodes (8): 项目定位, 文档导航, 目录结构, 快速开始, 技术栈, 相关项目, code:block1 (sanguo_vnpy/), 三国量化交易平台(sanguo_vnpy) ### Community 61 - "Community 61" Cohesion: 0.22 Nodes (9): 四、实盘经验核心总结, 1. 连接与登录问题, 1. 实时监控, 2. 订单执行问题, 2. 日志系统, 3. 策略运行问题, 3. 日志分析, 4.2 实盘问题解决 (+1 more) ### Community 62 - "Community 62" Cohesion: 0.22 Nodes (9): 8.1 基础版docker-compose.yml, 8.2 完整版docker-compose.yml(包含数据库), 8.3 .env环境变量文件, 8.4 快速启动命令, code:yaml (version: '3.8'), code:yaml (version: '3.8'), code:env (# 基本配置), code:bash (# 1. 创建目录结构) (+1 more) ### Community 63 - "Community 63" Cohesion: 0.22 Nodes (9): 7.1 基础版Dockerfile, 7.2 完整版Dockerfile(包含VS Code Server), 7.3 entrypoint.sh启动脚本, 7.4 requirements.txt依赖文件, code:dockerfile (# 使用Python 3.11基础镜像), code:dockerfile (# 多阶段构建), code:bash (#!/bin/bash), code:txt (# vn.py核心) (+1 more) ### Community 64 - "Community 64" Cohesion: 0.22 Nodes (8): 十一、成本与收益分析, 11.1 硬件成本(参考), 11.2 收益分析, 十四、参考资料, 四、性能评估, 4.1 回测速度评估, 4.2 局域网访问延迟评估, sanguo_vnpy群晖NAS Docker部署可行性调研报告 ### Community 65 - "Community 65" Cohesion: 0.22 Nodes (8): 📋 问题分析, ⚠️ 注意事项, **错误信息**, **可能原因**, 🔗 相关资源, 📊 预期结果, code:block1 (ModuleNotFoundError: No module named 'vnpy.app'), 🚀 解决vnpy模块缺失问题 ### Community 66 - "Community 66" Cohesion: 0.22 Nodes (9): 🔧 技术修复详情, 📞 技术支持, **遇到问题?**, **紧急修复命令**, ✅ 最终状态确认, **2. 修复的服务**, **3. 优化的配置**, 📊 修复性能对比 (+1 more) ### Community 67 - "Community 67" Cohesion: 0.36 Nodes (6): ApiResponse, BacktestRequest, 核心回测函数 - 这里确保BacktesterEngine初始化绝对正确, run_backtest(), run_strategy_backtest_core(), start_zmq_server() ### Community 68 - "Community 68" Cohesion: 0.25 Nodes (8): 1. 参数设置, 1. 数据相关陷阱, 2. 回测设置陷阱, 2. 结果验证, 3. 策略逻辑陷阱, 3.2 回测质量控制, 3.3 回测陷阱规避, 三、回测优化核心总结 ### Community 69 - "Community 69" Cohesion: 0.25 Nodes (8): 步骤1:SSH登录群晖NAS, 步骤2:创建Docker网络(可选但推荐), 3.2 部署步骤详解, 步骤3:拉取或构建镜像, 步骤4:启动容器, 步骤5:初始化配置, code:bash (ssh admin@192.168.2.154 # 替换为你的NAS IP), code:bash (docker network create vnpy-network) ### Community 70 - "Community 70" Cohesion: 0.25 Nodes (8): 六、故障排除, 🛡️ 故障排查, 问题1:连接超时, 问题2:权限错误, 问题2: Launch Daemon 未运行, 问题3:睡眠后断开, code:bash (./nas_manager.sh restart), code:bash (./nas_manager.sh restart) ### Community 71 - "Community 71" Cohesion: 0.25 Nodes (8): 🎬 完整工作流程示例, 场景:获取上证指数数据, 4. 更新负责人为赵云, 5. 尚书省派发, 7. 审核完成, code:block12 (📌 请处理任务), code:bash (# 1. 先更新看板,表示已接到任务), code:bash (python3 scripts/kanban_update.py state SHZ-20260401-001 Done) ### Community 72 - "Community 72" Cohesion: 0.25 Nodes (7): 06 - NAS 基础设施部署全纪录, 1. 概述, 10. 待改进项, 4. 构建指南, 4.1 构建基础镜像(极少执行), 4.2 依赖管理, code:bash (# 在 NAS 上执行) ### Community 73 - "Community 73" Cohesion: 0.25 Nodes (7): 01 - 需求定义, 1. 项目背景, 2. 核心需求, 2.1 功能需求, 2.2 非功能需求, 3. 用户角色, 4. 约束条件 ### Community 74 - "Community 74" Cohesion: 0.25 Nodes (8): 3.1 整体架构, 3.2 文件结构, 3.4 数据校验规则, 3.5 断点续传, 3.6 限频与容错, 三、系统设计, code:block2 (┌──────────────────────────────────────────────────────┐), code:block3 (~/.openclaw/sanguo_projects/sanguo_vnpy/data_platform/) ### Community 75 - "Community 75" Cohesion: 0.38 Nodes (5): ApiResponse, BacktestRequest, 回测核心函数 - 按照关羽将军指示的正确写法, run_backtest(), run_backtest_handler() ### Community 76 - "Community 76" Cohesion: 0.52 Nodes (6): check_dependencies(), check_directories(), check_python_version(), check_system_info(), check_virtual_environment(), generate_report() ### Community 77 - "Community 77" Cohesion: 0.29 Nodes (7): fetch_eastmoney_15min(), fetch_eastmoney_daily(), _get_em_secid(), _parse_em_klines(), 解析东方财富K线数据(日线和15min通用), 东方财富日线:当天实时,amount真实,4s限频, 东方财富15min:当天实时,约7周历史,4s限频 ### Community 78 - "Community 78" Cohesion: 0.48 Nodes (6): fetch_tencent_daily(), get_all_symbols(), get_last_date(), main(), parse_filename(), 获取某只股票在NAS Parquet中的最后日期 ### Community 79 - "Community 79" Cohesion: 0.29 Nodes (7): 1. 确认群晖NAS型号和架构, 2. 启用群晖Docker, 3. 准备共享文件夹, 3.1 准备工作, code:block10 (/docker/), code:bash (# 在群晖SSH中执行), 三、群晖Docker部署vn.py的具体步骤 ### Community 80 - "Community 80" Cohesion: 0.29 Nodes (7): 🎯 完整使用流程, 第一次部署, 日常使用, 如需手动干预, code:bash (# 1. 进入工作目录), code:bash (# 查看状态), code:bash (# 手动挂载) ### Community 81 - "Community 81" Cohesion: 0.29 Nodes (7): 🏗️ **第二步:目录结构与数据流转**, 3. 门下省审议, 4. 尚书省派发, code:block3 (/Users/chufeng/edict-data/ # 宿主机目录), code:block4 (/app/data/ # 容器内数据目录(挂载宿主机)), **Docker容器内(挂载)**, **数据文件位置(复用edict原生)** ### Community 82 - "Community 82" Cohesion: 0.29 Nodes (7): 1. edict系统部署, 2. 庞统规划并提交审议, 3. 司马懿审核通过, **📮 阶段4:尚书省(司马懿)收到通知**, ✅ 已完成的工作, code:block10 (📮 门下省已准奏,请派发执行), code:bash (# 1. 派发给户部(赵云)) ### Community 83 - "Community 83" Cohesion: 0.29 Nodes (7): 1. 创建任务, 2. 中书省规划, **我们的三国映射(配置到 `agent_config.json`)**, code:python (_STATE_AGENT_MAP = {), code:json ({), 🎯 **第一步:三国将军与edict三省六部的映射**, **edict原有映射** ### Community 84 - "Community 84" Cohesion: 0.29 Nodes (7): 3. 查看结果, 📞 协作流程, 数据更新流程:, 问题处理:, 📋 策略开发工作流, 详细步骤, code:block7 (赵云:下载新数据 → 运行转换脚本 → 更新vnpy_format目录 → 通知姜维) ### Community 85 - "Community 85" Cohesion: 0.29 Nodes (7): 6. 测试验证, 6.1 服务健康检查, 6.2 容器重启自动恢复测试, 6.3 回测功能测试, code:bash (# 回测服务), code:bash (# 重启容器), code:bash (curl -X POST http://192.168.2.154:8088/api/backtest/submit \) ### Community 86 - "Community 86" Cohesion: 0.29 Nodes (7): 5. 部署指南, 5.1 首次部署, 5.2 代码更新(不需要重建镜像), 5.3 完全重建容器, code:bash (ssh admin@192.168.2.154 "/usr/local/bin/docker stop sanguo_v), code:bash (# 1. 确保 NAS SSH 可用), code:bash (# 1. 修改 NAS 上的代码(通过 SMB 挂载)) ### Community 87 - "Community 87" Cohesion: 0.29 Nodes (6): 一、基础设施, 二、数据平台, 三、待建功能, 五、处理节奏, 四、P3 分钟线后续, sanguo_vnpy 项目 TODO ### Community 88 - "Community 88" Cohesion: 0.29 Nodes (7): 3.3 核心流程, 3.3.1 日线增量更新, 3.3.2 15分钟线增量更新, 3.3.3 vnpy DB写入策略(解决SMB性能问题), code:block4 (1. 扫描全市场股票列表(从 stock_basic_info CSV)), code:block5 (1. 扫描全市场股票列表), code:block6 (1. 在 /tmp/ 创建本地SQLite DB,写入增量数据) ### Community 89 - "Community 89" Cohesion: 0.6 Nodes (5): filter_articles(), get_article_content(), get_community_articles(), main(), save_articles() ### Community 90 - "Community 90" Cohesion: 0.53 Nodes (5): get_article_content(), main(), 获取文章内容(模拟,因为无法直接访问聚宽社区), read_articles_from_file(), save_articles() ### Community 92 - "Community 92" Cohesion: 0.47 Nodes (4): ApiResponse, BacktestRequest, run_backtest(), run_backtest_core() ### Community 93 - "Community 93" Cohesion: 0.4 Nodes (3): main(), SanguoChangeHandler, FileSystemEventHandler ### Community 94 - "Community 94" Cohesion: 0.47 Nodes (4): ApiResponse, BacktestRequest, run_backtest(), run_backtest_core() ### Community 95 - "Community 95" Cohesion: 0.6 Nodes (5): get_stock_list(), import_file(), main(), parse_filename(), 解析文件名: sz000001_15min.parquet -> (code, exchange) ### Community 96 - "Community 96" Cohesion: 0.53 Nodes (5): import_year(), main(), parse_filename(), sh600519_daily.parquet → ('600519', 'SSE'), update_overview() ### Community 97 - "Community 97" Cohesion: 0.33 Nodes (6): 一、方案整体可行性分析, 1.1 技术可行性:✅ 完全可行, 1.2 新架构设计:完全迁移到NAS, 1.3 适用场景, 架构对比, 新架构优势 ### Community 98 - "Community 98" Cohesion: 0.33 Nodes (6): 十二、分阶段迁移实施计划, 12.1 第一阶段:准备与验证(1-2天), 12.2 第二阶段:Docker环境部署(2-3天), 12.3 第三阶段:数据迁移(1-2天), 12.4 第四阶段:功能验证与优化(2-3天), 12.5 第五阶段:切换与清理(1天) ### Community 99 - "Community 99" Cohesion: 0.33 Nodes (6): 方法1:使用登录项(最简单)⭐, 方法2:使用自动操作(Automator), 二、开机自动挂载设置, 🛠️ 管理工具, code:applescript (tell application "Finder"), code:bash (# 1. 查看状态) ### Community 100 - "Community 100" Cohesion: 0.33 Nodes (6): ⚙️ 高级配置, 修改检查间隔, code:xml (StartInterval), code:bash (sudo launchctl unload /Library/LaunchDaemons/com.user.nasmou), code:bash (NAS_IP="192.168.2.154"), 修改 NAS 配置 ### Community 101 - "Community 101" Cohesion: 0.33 Nodes (6): 🎯 下一步行动, **立即开始测试**, **验证修复**, 工作流示意图, code:python (# vn.py需要的字段:), 目标格式(vn.py标准) ### Community 102 - "Community 102" Cohesion: 0.33 Nodes (6): 🚀 转换脚本示例, 2. 触发自动化回测, 日期时间处理, code:python (def format_datetime(date_str, interval='1d'):), code:python (#!/usr/bin/env python3), 完整转换脚本:`convert_to_vnpy.py` ### Community 103 - "Community 103" Cohesion: 0.33 Nodes (5): 任务说明, 背景, 调研进度, 任务目标, TASK-20260331 - vn.py Web Trader实现方式调研 ### Community 104 - "Community 104" Cohesion: 0.33 Nodes (6): 8. 运维手册, 8.1 日常巡检, 8.2 故障排查, 8.3 数据备份, code:bash (# 一键检查所有服务), code:bash (# vnpy DB 备份) ### Community 105 - "Community 105" Cohesion: 0.33 Nodes (6): 3.4 数据层设计, 3.4.1 数据目录结构(NAS), 3.4.2 vnpy 交易数据库, 3.4.3 数据增量更新, code:block5 (/volume1/stock/), code:block6 (Mac Mini cron (每交易日 15:30)) ### Community 106 - "Community 106" Cohesion: 0.33 Nodes (6): 7. 服务地址汇总, 7.1 用户访问地址, 7.2 管理命令(在 NAS 上执行), 7.3 Mac 端访问命令, code:bash (# 查看容器状态), code:bash (# SSH 连接) ### Community 107 - "Community 107" Cohesion: 0.33 Nodes (6): 11. 附录, 11.1 回测服务代码结构(bt-service/), 11.2 NAS 目录完整结构, 11.3 关键环境变量, code:block20 (bt-service/), code:block21 (/volume1/stock/sanguo_vnpy/) ### Community 108 - "Community 108" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 109 - "Community 109" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 110 - "Community 110" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 111 - "Community 111" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 112 - "Community 112" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 113 - "Community 113" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 114 - "Community 114" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 115 - "Community 115" Cohesion: 0.7 Nodes (4): main(), test_backtest_simple(), test_health(), test_swagger() ### Community 116 - "Community 116" Cohesion: 0.7 Nodes (4): create_vnpy_database(), download_510300_data(), import_to_vnpy_database(), main() ### Community 117 - "Community 117" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 118 - "Community 118" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 119 - "Community 119" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 120 - "Community 120" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 121 - "Community 121" Cohesion: 0.7 Nodes (4): check_data_paths(), check_symbol_in_db(), find_vnpy_database(), main() ### Community 122 - "Community 122" Cohesion: 0.6 Nodes (3): check_zmq_service(), main(), test_minimal_request() ### Community 123 - "Community 123" Cohesion: 0.7 Nodes (4): check_imports(), check_vnpy_structure(), create_import_fix_guide(), main() ### Community 124 - "Community 124" Cohesion: 0.5 Nodes (3): ApiResponse, BacktestRequest, run_backtest() ### Community 125 - "Community 125" Cohesion: 0.4 Nodes (5): 1. 风险管理框架, 2. 资金管理策略, 3. 止损与止盈, 4. 风控执行, 4.3 风险管理与资金管理 ### Community 126 - "Community 126" Cohesion: 0.4 Nodes (5): 任务目标, 时间要求, 一、任务概述, 任务目标, 完成情况 ### Community 127 - "Community 127" Cohesion: 0.4 Nodes (5): 五、数据存储方案, 5.1 存储架构设计, 5.2 数据库选择, 5.3 数据访问性能, code:block13 (群晖NAS存储架构:) ### Community 128 - "Community 128" Cohesion: 0.4 Nodes (5): 部署前检查, 部署步骤, 部署后验证, 安全配置, 十、推荐部署 checklist ### Community 129 - "Community 129" Cohesion: 0.4 Nodes (5): 🔧 技术原理, 架构图, code:block3 (/Volumes/stock/), Launch Daemon 配置, 三、stock目录结构规划 ### Community 130 - "Community 130" Cohesion: 0.4 Nodes (5): 📁 文件结构, 1. 诸葛亮创建任务, **🔍 阶段3:门下省(庞统)收到通知**, code:block8 (📋 中书省方案提交审议), code:bash (# 1. 审议方案,准奏!) ### Community 131 - "Community 131" Cohesion: 0.4 Nodes (5): 🛠️ 管理工具, 本地自动化脚本, 将军专用脚本, code:bash (./sync_and_run_backtest.sh --strategy strategies.your-strate), code:bash (./sanguo_nas_ci_cd.sh) ### Community 132 - "Community 132" Cohesion: 0.4 Nodes (4): 分配规则, 当前分配表, 添加新用户, 端口分配规则 - NAS sanguo_vnpy 部署 ### Community 133 - "Community 133" Cohesion: 0.4 Nodes (5): 2. 需求定义, 2.1 基础设施需求, 2.2 硬件环境, 2.3 网络拓扑, code:block1 (Mac Mini (192.168.2.153) 群晖 NAS (192.168.2.1) ### Community 134 - "Community 134" Cohesion: 0.4 Nodes (5): 2.1 已验证的数据源, 2.2 数据源限制详情, 2.3 多数据源策略, 二、数据源调研, code:block1 (数据源选择优先级(按数据质量排序):) ### Community 135 - "Community 135" Cohesion: 0.4 Nodes (5): 八、部署方案(待实现), 8.1 当前部署状态, 8.2 目标部署(整合到sanguo_vnpy项目), 8.3 部署步骤(草案), code:block10 (sanguo_vnpy/) ### Community 136 - "Community 136" Cohesion: 0.4 Nodes (5): 七、定时任务配置, 7.1 当前方案(OpenClaw Cron), 7.2 Cron表达式, 7.3 注意事项, code:block9 (35 15 * * 1-5 # 周一到周五 15:35) ### Community 137 - "Community 137" Cohesion: 0.4 Nodes (5): 6.1 已知问题, 6.2 当前方案, 6.3 待讨论:是否直接在NAS本地执行, code:block8 (写入流程(NAS DB):), 六、SMB/NAS 性能问题与方案 ### Community 138 - "Community 138" Cohesion: 0.67 Nodes (3): main(), parse_requirements(), 解析requirements文件,返回{package: version_spec} ### Community 139 - "Community 139" Cohesion: 0.83 Nodes (3): create_vnpy_app_module(), main(), test_imports() ### Community 140 - "Community 140" Cohesion: 0.83 Nodes (3): check_510300_variants(), check_all_symbols(), main() ### Community 141 - "Community 141" Cohesion: 0.83 Nodes (3): main(), test_api_service(), test_vnpy_installation() ### Community 142 - "Community 142" Cohesion: 0.83 Nodes (3): get_pid_using_port(), kill_pid(), main() ### Community 143 - "Community 143" Cohesion: 0.83 Nodes (3): check_symbol_in_db(), find_vnpy_database(), main() ### Community 144 - "Community 144" Cohesion: 0.83 Nodes (3): download_to_vnpy(), main(), test_different_interfaces() ### Community 145 - "Community 145" Cohesion: 0.83 Nodes (3): parse_date(), str_to_interval(), test_run_strategy_backtest() ### Community 146 - "Community 146" Cohesion: 0.83 Nodes (3): parse_date(), str_to_interval(), test_run_strategy_backtest() ### Community 147 - "Community 147" Cohesion: 0.83 Nodes (3): parse_date(), str_to_interval(), test_run_strategy_backtest() ### Community 148 - "Community 148" Cohesion: 0.83 Nodes (3): parse_date(), str_to_interval(), test_run_strategy_backtest() ### Community 149 - "Community 149" Cohesion: 0.83 Nodes (3): import_year(), main(), parse_filename() ### Community 150 - "Community 150" Cohesion: 0.5 Nodes (4): 1. 基础指标, 2. 深入分析, 3. 验证方法, 3.5 回测结果分析 ### Community 151 - "Community 151" Cohesion: 0.5 Nodes (4): 1. 数据层面优化, 2. 代码层面优化, 3. 回测策略优化, 3.1 性能优化 ### Community 152 - "Community 152" Cohesion: 0.5 Nodes (4): 1. 策略验证, 2. 资金准备, 3. 渐进式上线, 4.1 实盘前准备 ### Community 153 - "Community 153" Cohesion: 0.5 Nodes (4): 1. 核心模块, 2. 架构原则, 3. 事件驱动架构, 3.4 回测系统架构 ### Community 154 - "Community 154" Cohesion: 0.5 Nodes (4): 六、网络访问方案, 6.1 访问方式对比, 6.2 Mac mini访问体验, 6.3 网络安全建议 ### Community 155 - "Community 155" Cohesion: 0.5 Nodes (4): 十三、结论与建议, 13.1 可行性总结, 13.2 核心收益, 13.3 最终推荐 ### Community 156 - "Community 156" Cohesion: 0.5 Nodes (4): 数据库存储方案, 核心思想, 优缺点分析, 适用场景 ### Community 157 - "Community 157" Cohesion: 0.5 Nodes (4): 方案对比与选择建议, 方案对比表, 选择建议, 最佳实践建议 ### Community 158 - "Community 158" Cohesion: 0.5 Nodes (4): 👥 各角色工作流程, 诸葛亮(总军师), 庞统(副军师), 赵云(数据护军) ### Community 159 - "Community 159" Cohesion: 0.5 Nodes (4): 6. 赵云执行任务(手动或自动), code:bash (# 审查通过!完成任务!), code:bash (# 基本用法), 📋 **第五步:kanban_update.py 完整命令参考** ### Community 160 - "Community 160" Cohesion: 0.5 Nodes (4): 五、多数据源保留策略, 5.1 当前实现, 5.2 设计原则, 5.3 未来扩展点 ### Community 172 - "Community 172" Cohesion: 0.67 Nodes (3): 4.1 各协议对比, 4.2 推荐方案:SMB协议, 四、挂载协议选择 ### Community 173 - "Community 173" Cohesion: 0.67 Nodes (3): 15.6 v2.0 评审结论(2026-05-06 司马懿), code:block19 (日常增量(当天15:35触发):), 十五、v2.0 评审待确认项 ## Knowledge Gaps - **781 isolated node(s):** `获取文章内容(模拟,因为无法直接访问聚宽社区)`, `BacktestRequest`, `BacktestRequest`, `核心回测函数 - 这里确保BacktesterEngine初始化绝对正确`, `BacktestRequest` (+776 more) These have ≤1 connection - possible missing edges or undocumented components. - **14 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. ## Suggested Questions _Questions this graph is uniquely positioned to answer:_ - **Why does `TaskStatus` connect `Community 0` to `Community 3`?** _High betweenness centrality (0.006) - this node is a cross-community bridge._ - **Are the 100 inferred relationships involving `str` (e.g. with `main()` and `test_run_strategy_backtest()`) actually correct?** _`str` has 100 INFERRED edges - model-reasoned connections that need verification._ - **What connects `获取文章内容(模拟,因为无法直接访问聚宽社区)`, `BacktestRequest`, `BacktestRequest` to the rest of the system?** _781 weakly-connected nodes found - possible documentation gaps or missing edges._ - **Should `Community 0` be split into smaller, more focused modules?** _Cohesion score 0.05 - nodes in this community are weakly interconnected._ - **Should `Community 1` be split into smaller, more focused modules?** _Cohesion score 0.04 - nodes in this community are weakly interconnected._ - **Should `Community 2` be split into smaller, more focused modules?** _Cohesion score 0.08 - nodes in this community are weakly interconnected._ - **Should `Community 3` be split into smaller, more focused modules?** _Cohesion score 0.06 - nodes in this community are weakly interconnected._