candidate-pool 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +245 -0
- package/README.md +397 -0
- package/bin/candidate-pool.js +23 -0
- package/bin/tail-screener.js +22 -0
- package/build_universe.js +231 -0
- package/candidates.example.json +269 -0
- package/db/.env.example +13 -0
- package/db/backfill.js +71 -0
- package/db/clients.js +48 -0
- package/db/d1client.js +69 -0
- package/db/ddl.js +82 -0
- package/db/diff.js +223 -0
- package/db/diff_selftest.js +124 -0
- package/db/enrich_stock_base.js +138 -0
- package/db/migrate.js +177 -0
- package/db/normalize.js +129 -0
- package/db/persist.js +90 -0
- package/db/query_local.js +43 -0
- package/db/schema.sql +225 -0
- package/db/sqlite_client.js +81 -0
- package/db/verify_sync.js +107 -0
- package/db/write_live.js +54 -0
- package/eod/build_industry_map.js +146 -0
- package/eod/data/industry-map.json +1 -0
- package/eod/lib/http.js +188 -0
- package/eod/lib/market.js +345 -0
- package/eod/lib/report.js +329 -0
- package/eod/lib/screen.js +355 -0
- package/eod/lib/sector.js +96 -0
- package/eod/lib/store.js +204 -0
- package/eod/lib/store_d1.js +293 -0
- package/eod/lib/trading.js +252 -0
- package/eod/lib/trading.selftest.js +283 -0
- package/eod/tail.config.js +212 -0
- package/eod/tail_screener.js +373 -0
- package/gen_candidates.js +994 -0
- package/notify.js +236 -0
- package/notify_config.example.json +14 -0
- package/package.json +96 -0
- package/paths.js +127 -0
- package/paths.selftest.js +142 -0
- package/scaffold.js +199 -0
- package/scaffold.selftest.js +153 -0
- package/time.js +17 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
所有变动按 **Conventional Commits** 约定分类,由 `changelogen` 自动生成。
|
|
4
|
+
|
|
5
|
+
## v2.0.0
|
|
6
|
+
|
|
7
|
+
[compare changes](https://github.com/GuoSirius/candidate-pool/compare/v1.1.0...v2.0.0)
|
|
8
|
+
|
|
9
|
+
### 🚀 新功能 (Features)
|
|
10
|
+
|
|
11
|
+
- 量比(vol_ratio)全链路持久化(快照→D1→API 类型) ([8c5aae9](https://github.com/GuoSirius/candidate-pool/commit/8c5aae9))
|
|
12
|
+
- **web:** 候选列表下拉布局 + 详情返回保留状态 + 量比/总市值列 + 规则/字段说明 ([b66716b](https://github.com/GuoSirius/candidate-pool/commit/b66716b))
|
|
13
|
+
- **web:** 复盘统计改版(默认近一月/走势图全周期可勾选/命中率合并列/锚定日倒序) + 规则释义完善 + glossary 单一来源 ([9b6b420](https://github.com/GuoSirius/candidate-pool/commit/9b6b420))
|
|
14
|
+
- 新增「全部标的」汇总页(入选次数/各档数量/多列排序,默认最近入选倒序)+ /api/stock-rank 聚合接口 ([a8c184e](https://github.com/GuoSirius/candidate-pool/commit/a8c184e))
|
|
15
|
+
- **web:** 详情页按来源返回并保持列表状态 + 复盘汇总改回卡片并说明口径 ([ed02ad2](https://github.com/GuoSirius/candidate-pool/commit/ed02ad2))
|
|
16
|
+
- **worker:** 新增评论(备注)与分组写入接口,含共享令牌写鉴权 ([dfb3812](https://github.com/GuoSirius/candidate-pool/commit/dfb3812))
|
|
17
|
+
- **web:** Api 客户端补写接口与写令牌存储,附带 10005 业务码 ([c7109e0](https://github.com/GuoSirius/candidate-pool/commit/c7109e0))
|
|
18
|
+
- **web:** 详情页支持写备注与分组,顶栏新增写权限入口 ([c1153cd](https://github.com/GuoSirius/candidate-pool/commit/c1153cd))
|
|
19
|
+
- **web:** 全部标的页新增档位下拉筛选,汇总跟随筛选并保持状态 ([76ac06d](https://github.com/GuoSirius/candidate-pool/commit/76ac06d))
|
|
20
|
+
- **worker:** 股票汇总接口补充 n1/n2/n3 平均涨跌幅(改用内存聚合) ([cfb5795](https://github.com/GuoSirius/candidate-pool/commit/cfb5795))
|
|
21
|
+
- **web:** 全部入选标的列表展示 n1-n3 平均涨跌幅(可排序、空值排末位) ([3f27cb5](https://github.com/GuoSirius/candidate-pool/commit/3f27cb5))
|
|
22
|
+
- **worker:** 时间处理改用 dayjs,与脚本/前端统一时区口径 ([720710a](https://github.com/GuoSirius/candidate-pool/commit/720710a))
|
|
23
|
+
- **worker:** 股票汇总补充「最近一次入选」口径的 n1-n3 收益 ([763cdf6](https://github.com/GuoSirius/candidate-pool/commit/763cdf6))
|
|
24
|
+
- **web:** 全部标的页 n1-n3 支持最近一次/历史平均口径切换 ([7332891](https://github.com/GuoSirius/candidate-pool/commit/7332891))
|
|
25
|
+
- **web:** 明细表支持点列头排序,排序逻辑抽到 utils/sort ([647ae74](https://github.com/GuoSirius/candidate-pool/commit/647ae74))
|
|
26
|
+
- **web:** 全部标的页支持分页(默认 20 条,可选至全部),并对齐共用排序 ([3060fa4](https://github.com/GuoSirius/candidate-pool/commit/3060fa4))
|
|
27
|
+
- **web:** 数据表首列新增序号(全部标的 / 入选记录 / 复盘统计) ([2ebb11c](https://github.com/GuoSirius/candidate-pool/commit/2ebb11c))
|
|
28
|
+
- **web:** 候选池支持按档位排序,首列新增序号 ([de2fe37](https://github.com/GuoSirius/candidate-pool/commit/de2fe37))
|
|
29
|
+
- **db:** 入库支持 --both 双写,新增一致性哨兵 ([cfba376](https://github.com/GuoSirius/candidate-pool/commit/cfba376))
|
|
30
|
+
- **eod:** 尾盘选股配置层、http 抓取层与交易时段判定 ([7d63351](https://github.com/GuoSirius/candidate-pool/commit/7d63351))
|
|
31
|
+
- **eod:** 全市场快照抓取与分时尾盘段计算 ([62c88c2](https://github.com/GuoSirius/candidate-pool/commit/62c88c2))
|
|
32
|
+
- **eod:** 初筛过滤、六项打分与行业分组排序 ([6626072](https://github.com/GuoSirius/candidate-pool/commit/6626072))
|
|
33
|
+
- **eod:** 幂等落库、双语报告与尾盘选股入口 ([03479be](https://github.com/GuoSirius/candidate-pool/commit/03479be))
|
|
34
|
+
- **eod:** 双通道调度——程序内等待与 github actions workflow ([ea72813](https://github.com/GuoSirius/candidate-pool/commit/ea72813))
|
|
35
|
+
- **worker:** 新增备注全量列表接口 ([beda89f](https://github.com/GuoSirius/candidate-pool/commit/beda89f))
|
|
36
|
+
- **web:** 新增分组与备注总览页 ([a81fdd3](https://github.com/GuoSirius/candidate-pool/commit/a81fdd3))
|
|
37
|
+
- **eod:** 尾盘选股脚本与 d1 落库同步 ([794584e](https://github.com/GuoSirius/candidate-pool/commit/794584e))
|
|
38
|
+
- **worker:** 尾盘选股查询接口与复盘口径 ([82bd2d9](https://github.com/GuoSirius/candidate-pool/commit/82bd2d9))
|
|
39
|
+
- **web:** 尾盘选股页面(概览/历史/复盘/差异) ([e11614e](https://github.com/GuoSirius/candidate-pool/commit/e11614e))
|
|
40
|
+
- **db:** Schema.sql 单一真相源与一键结构同步,修复本地远程漏建表 ([9229cc8](https://github.com/GuoSirius/candidate-pool/commit/9229cc8))
|
|
41
|
+
- **db:** 结构同步改为声明式差异识别,新增列/索引可自动补齐 ([d7e9651](https://github.com/GuoSirius/candidate-pool/commit/d7e9651))
|
|
42
|
+
- **eod:** 新增盘中模式 --intraday,保留时段守卫并补齐时段自测 ([221a8a5](https://github.com/GuoSirius/candidate-pool/commit/221a8a5))
|
|
43
|
+
- **paths:** 新增工作目录解析,产物与配置可重定位(默认行为不变) ([50c64f4](https://github.com/GuoSirius/candidate-pool/commit/50c64f4))
|
|
44
|
+
- **npm:** 新增 bin 入口与包元数据(files 白名单 / repository / 公开发布配置) ([e8f2a0e](https://github.com/GuoSirius/candidate-pool/commit/e8f2a0e))
|
|
45
|
+
- **release:** 新增打包体检脚本(敏感文件守门 + 规则自检 + 体积红线) ([9274050](https://github.com/GuoSirius/candidate-pool/commit/9274050))
|
|
46
|
+
- **release:** 新增 tag 触发的云端发布工作流与 release 说明生成 ([ee6f581](https://github.com/GuoSirius/candidate-pool/commit/ee6f581))
|
|
47
|
+
- **release:** Release 一条命令集成说明预览并回报三条结果链接 ([e9354ce](https://github.com/GuoSirius/candidate-pool/commit/e9354ce))
|
|
48
|
+
- **scaffold:** 新增首次运行脚手架,空目录(npx/装包)可开箱运行 ([fa4240c](https://github.com/GuoSirius/candidate-pool/commit/fa4240c))
|
|
49
|
+
- 尾盘六维分项分两组呈现(个股自身 65 / 环境质量 35) ([1fa9f0f](https://github.com/GuoSirius/candidate-pool/commit/1fa9f0f))
|
|
50
|
+
- 尾盘候选页补全尾盘段与标记字段,并新增分行业明细列表 ([46c77f1](https://github.com/GuoSirius/candidate-pool/commit/46c77f1))
|
|
51
|
+
- **tail:** 新增 --resync,把本地存档重新补发到 D1 ([cf24909](https://github.com/GuoSirius/candidate-pool/commit/cf24909))
|
|
52
|
+
- **tail:** 落库目标本地默认双写(本机写本地库+远程,CI 只写远程) ([39d45e6](https://github.com/GuoSirius/candidate-pool/commit/39d45e6))
|
|
53
|
+
|
|
54
|
+
### ⚡ 性能优化 (Performance)
|
|
55
|
+
|
|
56
|
+
- **worker:** Stats 日线查询按下界裁剪 ([1010e34](https://github.com/GuoSirius/candidate-pool/commit/1010e34))
|
|
57
|
+
- **worker:** 行情类接口加 5 分钟浏览器缓存 ([f906fe1](https://github.com/GuoSirius/candidate-pool/commit/f906fe1))
|
|
58
|
+
|
|
59
|
+
### 🐛 缺陷修复 (Bug Fixes)
|
|
60
|
+
|
|
61
|
+
- 发布选择界面不再打印 CHANGELOG,保持版本选择界面简洁 ([e758251](https://github.com/GuoSirius/candidate-pool/commit/e758251))
|
|
62
|
+
- **worker:** 修复 /api/stats 500(D1 绑定参数上限 100,price_daily 分块 400→90) ([7d95274](https://github.com/GuoSirius/candidate-pool/commit/7d95274))
|
|
63
|
+
- **deps:** Typescript 降至 6.0.3(TS7 不导出 lib/tsc,vue-tsc 无法解析) ([0f00675](https://github.com/GuoSirius/candidate-pool/commit/0f00675))
|
|
64
|
+
- **web:** 候选列表消除横向滚动(table-layout:fixed+百分比列宽+市值合并两行) + 修复进详情返回的状态保持(watcher 守卫+数据渲染后再复滚动位置) ([3505ce0](https://github.com/GuoSirius/candidate-pool/commit/3505ce0))
|
|
65
|
+
- 交易日推算统一走 dayjs(Asia/Shanghai),移除裸 new Date() ([8e1974b](https://github.com/GuoSirius/candidate-pool/commit/8e1974b))
|
|
66
|
+
- **db:** Price_daily 改为全观察池逐日写入,n 周期口径归正 ([e7a145e](https://github.com/GuoSirius/candidate-pool/commit/e7a145e))
|
|
67
|
+
- **worker:** Stock-rank 补齐 ln* 排序键,非法 sort 不再静默回落 ([07d7286](https://github.com/GuoSirius/candidate-pool/commit/07d7286))
|
|
68
|
+
- **web:** 移除档位列筛选时多余的蓝色下划线 ([d2a0f93](https://github.com/GuoSirius/candidate-pool/commit/d2a0f93))
|
|
69
|
+
- **web:** 移动端卡片紧凑化与全站表格窄屏适配 ([f068b6d](https://github.com/GuoSirius/candidate-pool/commit/f068b6d))
|
|
70
|
+
- **web:** 导航高亮收敛为唯一归属,修子路由父子项同时点亮 ([ea73063](https://github.com/GuoSirius/candidate-pool/commit/ea73063))
|
|
71
|
+
- **eod:** 盘中模式起点改按已成交分钟回数,修午休跨段导致下午开盘静默零候选 ([b72c343](https://github.com/GuoSirius/candidate-pool/commit/b72c343))
|
|
72
|
+
- **changelog:** 删除错误的 repo 配置,修掉 81 个 undefined 死链 ([2024a77](https://github.com/GuoSirius/candidate-pool/commit/2024a77))
|
|
73
|
+
- **eod:** 行业映射在工作目录缺失时回退包内种子,避免整池塌成未分类 ([8fbf482](https://github.com/GuoSirius/candidate-pool/commit/8fbf482))
|
|
74
|
+
- **release:** 说明预览支持 tag 尚未创建,修正首次发布与提交数误报 ([d4b160a](https://github.com/GuoSirius/candidate-pool/commit/d4b160a))
|
|
75
|
+
- **tail:** 尾盘落库两处修正——占位符错位致候选全丢、口径 cut 未翻译 ([6fa1313](https://github.com/GuoSirius/candidate-pool/commit/6fa1313))
|
|
76
|
+
- **tail:** 读取侧兼容历史 cut 口径,记录页不再兜底成「观察」 ([3e5c17d](https://github.com/GuoSirius/candidate-pool/commit/3e5c17d))
|
|
77
|
+
|
|
78
|
+
### ♻️ 代码重构 (Refactors)
|
|
79
|
+
|
|
80
|
+
- **web:** 抽离应用外壳,导航改为数据驱动并适配移动端 ([65c2b1d](https://github.com/GuoSirius/candidate-pool/commit/65c2b1d))
|
|
81
|
+
- **web:** 抽出统一页面标题行,消除五处重复样式 ([6c49d43](https://github.com/GuoSirius/candidate-pool/commit/6c49d43))
|
|
82
|
+
- 规则释义集中到 rules 单页,其他视图仅留跳转入口 ([2a48fdd](https://github.com/GuoSirius/candidate-pool/commit/2a48fdd))
|
|
83
|
+
- **release:** 部署移出 release,与发版解耦 ([d28a351](https://github.com/GuoSirius/candidate-pool/commit/d28a351))
|
|
84
|
+
- 分行业明细改为单表加行业分组行 ([4448c25](https://github.com/GuoSirius/candidate-pool/commit/4448c25))
|
|
85
|
+
- **tail:** 观察归档文件名去掉时点后缀,与盘中统一为一天一个文件 ([6e75844](https://github.com/GuoSirius/candidate-pool/commit/6e75844))
|
|
86
|
+
|
|
87
|
+
### 📚 文档 (Documentation)
|
|
88
|
+
|
|
89
|
+
- 新增文档中心(目录规划+命名规范)与尾盘选股需求/方案/计划/待确认 ([038c302](https://github.com/GuoSirius/candidate-pool/commit/038c302))
|
|
90
|
+
- 新增评论与分组可写能力方案(需求/接口清单/写鉴权/前端交互/边界) ([1a218d1](https://github.com/GuoSirius/candidate-pool/commit/1a218d1))
|
|
91
|
+
- 评论与分组方案同步实现状态、10005 业务码与写接口启用步骤 ([6d4b0c9](https://github.com/GuoSirius/candidate-pool/commit/6d4b0c9))
|
|
92
|
+
- 更正写接口密钥应配在 Pages 项目,独立 worker 部署为可选入口 ([d1a4ccf](https://github.com/GuoSirius/candidate-pool/commit/d1a4ccf))
|
|
93
|
+
- 同步部署形态与写接口说明,移除独立 worker 发布入口 ([869a7f2](https://github.com/GuoSirius/candidate-pool/commit/869a7f2))
|
|
94
|
+
- 补充 price_daily 回填实测数据与旧快照缺口说明 ([4f55e71](https://github.com/GuoSirius/candidate-pool/commit/4f55e71))
|
|
95
|
+
- 补充本地/线上一致性与 D1 用量限额 ([d2b156a](https://github.com/GuoSirius/candidate-pool/commit/d2b156a))
|
|
96
|
+
- 补充表/列/索引一键同步说明与表清单 ([dee2929](https://github.com/GuoSirius/candidate-pool/commit/dee2929))
|
|
97
|
+
- 新增独立发布方案对比(三方案),并补工作目录用法说明 ([6d8308c](https://github.com/GuoSirius/candidate-pool/commit/6d8308c))
|
|
98
|
+
- 补独立发布实施计划,并在 readme 补装包运行与发布用法 ([3f3e287](https://github.com/GuoSirius/candidate-pool/commit/3f3e287))
|
|
99
|
+
- 说明 release 与 release:notes 的区别及一条命令的完整链路 ([33f2cbe](https://github.com/GuoSirius/candidate-pool/commit/33f2cbe))
|
|
100
|
+
- 补脚手架用法、向后兼容保票与 npx 不 pin 版本的决定 ([6314b03](https://github.com/GuoSirius/candidate-pool/commit/6314b03))
|
|
101
|
+
- 修正过期事实(15:35→15:30、7表9索引→10表12索引)并补全 5 个工作流清单 ([4d16d02](https://github.com/GuoSirius/candidate-pool/commit/4d16d02))
|
|
102
|
+
- 新增定时任务拓扑与数据存储两篇(从 README 拆出),并更新文档索引 ([ec66a57](https://github.com/GuoSirius/candidate-pool/commit/ec66a57))
|
|
103
|
+
- 新增 api / web / release 三篇并补齐文档索引 ([dee6ed3](https://github.com/GuoSirius/candidate-pool/commit/dee6ed3))
|
|
104
|
+
- **readme:** 瘦身成总览加导航(775 到 282 行),存储/API/前端/发布四块移交 docs ([e66a739](https://github.com/GuoSirius/candidate-pool/commit/e66a739))
|
|
105
|
+
- **eod:** 新增上线后复盘,四篇设计基线加状态标记并标注 Q2/Q3/Q14 与实际不符 ([14ba007](https://github.com/GuoSirius/candidate-pool/commit/14ba007))
|
|
106
|
+
|
|
107
|
+
### 📦 杂项维护 (Chores)
|
|
108
|
+
|
|
109
|
+
- 根目录新增 npm run deploy 一键发布前端 ([981a476](https://github.com/GuoSirius/candidate-pool/commit/981a476))
|
|
110
|
+
- 忽略尾盘选股的日度数据与报告产物 ([82b2796](https://github.com/GuoSirius/candidate-pool/commit/82b2796))
|
|
111
|
+
- 补 tail 系列 npm 脚本便于快速执行 ([cffcf82](https://github.com/GuoSirius/candidate-pool/commit/cffcf82))
|
|
112
|
+
- 每日实时初筛 2026-09-21 ([377cf91](https://github.com/GuoSirius/candidate-pool/commit/377cf91))
|
|
113
|
+
|
|
114
|
+
### 🎨 代码格式 (Style)
|
|
115
|
+
|
|
116
|
+
- **web:** 页面铺满(取消 1100px 限宽) + 全站表格列宽/对齐重排(文本左/标签与日期居中/数值右) ([eb1a383](https://github.com/GuoSirius/candidate-pool/commit/eb1a383))
|
|
117
|
+
- **web:** 页面加 1440px 最大宽度 + 平均收益走势默认只显示 N1/N2/N3/N5 ([aafb6b4](https://github.com/GuoSirius/candidate-pool/commit/aafb6b4))
|
|
118
|
+
|
|
119
|
+
### ⚙️ 持续集成 (CI)
|
|
120
|
+
|
|
121
|
+
- 定时任务对齐并新增观察与行业映射工作流 ([623a0f4](https://github.com/GuoSirius/candidate-pool/commit/623a0f4))
|
|
122
|
+
- 每日自动同步结构;worker 缺表缺列返回可操作提示 ([111f7ce](https://github.com/GuoSirius/candidate-pool/commit/111f7ce))
|
|
123
|
+
|
|
124
|
+
### ❤️ Contributors
|
|
125
|
+
|
|
126
|
+
- 郭之存 ([@siriusSupreme](https://github.com/siriusSupreme))
|
|
127
|
+
|
|
128
|
+
## v1.1.0
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
### 🚀 新功能 (Features)
|
|
132
|
+
|
|
133
|
+
- A股次日候选池自动初筛脚本 + 离线快照 + GitHub Actions 工作流 ([1f670ae](https://github.com/GuoSirius/candidate-pool/commit/1f670ae))
|
|
134
|
+
- 实时模式按日留档+覆盖 + 微信/163邮件推送(notify.js) + 工作流默认live ([7503b79](https://github.com/GuoSirius/candidate-pool/commit/7503b79))
|
|
135
|
+
- **db:** 新增 D1 入库层 + 本地 SQLite 开发模式(零依赖 node:sqlite) ([e4b7d6a](https://github.com/GuoSirius/candidate-pool/commit/e4b7d6a))
|
|
136
|
+
- **db:** 统一时间处理为 dayjs(北京时间)并为建表语句补充列注释 ([145e99d](https://github.com/GuoSirius/candidate-pool/commit/145e99d))
|
|
137
|
+
- **worker:** Add Cloudflare Workers API exposing D1 candidate-pool data ([e4d8fd4](https://github.com/GuoSirius/candidate-pool/commit/e4d8fd4))
|
|
138
|
+
- **web:** Add Vue3/Vite PWA frontend (candidate list, rules, stock detail) ([6ae62c2](https://github.com/GuoSirius/candidate-pool/commit/6ae62c2))
|
|
139
|
+
- **worker:** Add /api/stats review aggregation (N-day win rate, per-tier, timeline) ([2984a0a](https://github.com/GuoSirius/candidate-pool/commit/2984a0a))
|
|
140
|
+
- **web:** Add review stats page (win rate, per-tier, timeline chart) ([d5864d8](https://github.com/GuoSirius/candidate-pool/commit/d5864d8))
|
|
141
|
+
- **web:** Serve Worker API as same-origin Pages Functions ([ad50bdc](https://github.com/GuoSirius/candidate-pool/commit/ad50bdc))
|
|
142
|
+
- **web:** Candidate list becomes responsive cards + pagination + search; sticky first column ([3205569](https://github.com/GuoSirius/candidate-pool/commit/3205569))
|
|
143
|
+
- 扩展 N 日涨幅口径到 N1/N2/N3/N5/N7/N9/N10(覆盖四档与个股详情) ([0275fb5](https://github.com/GuoSirius/candidate-pool/commit/0275fb5))
|
|
144
|
+
- **db:** D1/本地双写冲突防护 recency guard + run_at 列 + 幂等迁移,及锚定日解析 --print-anchor ([8261218](https://github.com/GuoSirius/candidate-pool/commit/8261218))
|
|
145
|
+
|
|
146
|
+
### 🐛 缺陷修复 (Bug Fixes)
|
|
147
|
+
|
|
148
|
+
- Offline 模式自动选最新快照 + 简化 npm offline 脚本 ([5d8685c](https://github.com/GuoSirius/candidate-pool/commit/5d8685c))
|
|
149
|
+
- **worker:** Type status as ContentfulStatusCode; pin real D1 id; add lockfile ([c341654](https://github.com/GuoSirius/candidate-pool/commit/c341654))
|
|
150
|
+
- **web:** Remove unused router in StockView; add lockfile ([348bcb9](https://github.com/GuoSirius/candidate-pool/commit/348bcb9))
|
|
151
|
+
- **db:** D1 batch now submits per-statement via /query; /execute 404s on this account ([8aced0c](https://github.com/GuoSirius/candidate-pool/commit/8aced0c))
|
|
152
|
+
|
|
153
|
+
### ♻️ 代码重构 (Refactors)
|
|
154
|
+
|
|
155
|
+
- **worker:** Decouple envelope code from HTTP status; add BizCode + fix workers-types version ([0be7245](https://github.com/GuoSirius/candidate-pool/commit/0be7245))
|
|
156
|
+
- **db:** Load env via dotenv instead of hand-rolled loader ([f4a262a](https://github.com/GuoSirius/candidate-pool/commit/f4a262a))
|
|
157
|
+
|
|
158
|
+
### 📚 文档 (Documentation)
|
|
159
|
+
|
|
160
|
+
- D1 建表命令补 --remote(默认 local 模式会报错) ([a917251](https://github.com/GuoSirius/candidate-pool/commit/a917251))
|
|
161
|
+
- Add DEPLOY.md (fresh-env 0->1 + daily publish) and refresh README ([5b333ca](https://github.com/GuoSirius/candidate-pool/commit/5b333ca))
|
|
162
|
+
|
|
163
|
+
### 🔧 构建 (Build)
|
|
164
|
+
|
|
165
|
+
- 接入 commitlint + changelogen + husky,新增 npm run release 全流程(未提交检测/类型门禁/版本/changelog/发布/部署) ([a180c17](https://github.com/GuoSirius/candidate-pool/commit/a180c17))
|
|
166
|
+
|
|
167
|
+
### 📦 杂项维护 (Chores)
|
|
168
|
+
|
|
169
|
+
- 每日实时初筛 2026-08-10 ([c933b00](https://github.com/GuoSirius/candidate-pool/commit/c933b00))
|
|
170
|
+
- 从快照重建报告 2026-08-10T09:00:02Z ([34ef9de](https://github.com/GuoSirius/candidate-pool/commit/34ef9de))
|
|
171
|
+
- 每日初筛 2026-08-11T08:33:04Z ([fa67638](https://github.com/GuoSirius/candidate-pool/commit/fa67638))
|
|
172
|
+
- 每日实时初筛 2026-08-12 ([3b33ccb](https://github.com/GuoSirius/candidate-pool/commit/3b33ccb))
|
|
173
|
+
- 每日初筛 2026-08-12T08:50:23Z ([dae14e8](https://github.com/GuoSirius/candidate-pool/commit/dae14e8))
|
|
174
|
+
- 每日实时初筛 2026-08-13 ([791ed2f](https://github.com/GuoSirius/candidate-pool/commit/791ed2f))
|
|
175
|
+
- 每日初筛 2026-08-13T08:53:28Z ([5db74a5](https://github.com/GuoSirius/candidate-pool/commit/5db74a5))
|
|
176
|
+
- 每日实时初筛 2026-08-14 ([146e02b](https://github.com/GuoSirius/candidate-pool/commit/146e02b))
|
|
177
|
+
- 每日初筛 2026-08-14T08:47:30Z ([9419c64](https://github.com/GuoSirius/candidate-pool/commit/9419c64))
|
|
178
|
+
- 每日实时初筛 2026-08-17 ([bd84250](https://github.com/GuoSirius/candidate-pool/commit/bd84250))
|
|
179
|
+
- 每日初筛 2026-08-17T08:10:53Z ([0b8b81e](https://github.com/GuoSirius/candidate-pool/commit/0b8b81e))
|
|
180
|
+
- 每日初筛 2026-08-18T08:06:05Z ([27fc1f7](https://github.com/GuoSirius/candidate-pool/commit/27fc1f7))
|
|
181
|
+
- 每日实时初筛 2026-08-19 ([0af96de](https://github.com/GuoSirius/candidate-pool/commit/0af96de))
|
|
182
|
+
- 每日实时初筛 2026-08-19(15:35 复核) ([9e3b3d4](https://github.com/GuoSirius/candidate-pool/commit/9e3b3d4))
|
|
183
|
+
- 每日初筛 2026-08-19T08:06:39Z ([2f2ec78](https://github.com/GuoSirius/candidate-pool/commit/2f2ec78))
|
|
184
|
+
- 每日实时初筛 2026-08-20 ([c992cb9](https://github.com/GuoSirius/candidate-pool/commit/c992cb9))
|
|
185
|
+
- 每日初筛 2026-08-20T08:08:44Z ([ff48c3f](https://github.com/GuoSirius/candidate-pool/commit/ff48c3f))
|
|
186
|
+
- 每日实时初筛 2026-08-21 ([ee0f8ac](https://github.com/GuoSirius/candidate-pool/commit/ee0f8ac))
|
|
187
|
+
- 每日初筛 2026-08-21T08:09:35Z ([fc272d1](https://github.com/GuoSirius/candidate-pool/commit/fc272d1))
|
|
188
|
+
- 每日初筛 2026-08-24T08:23:22Z ([c7b81e9](https://github.com/GuoSirius/candidate-pool/commit/c7b81e9))
|
|
189
|
+
- 每日初筛 2026-08-25T08:21:37Z ([c5e4c2a](https://github.com/GuoSirius/candidate-pool/commit/c5e4c2a))
|
|
190
|
+
- 每日实时初筛 2026-08-26 ([cce38ae](https://github.com/GuoSirius/candidate-pool/commit/cce38ae))
|
|
191
|
+
- 每日初筛 2026-08-26T08:21:52Z ([c4f0485](https://github.com/GuoSirius/candidate-pool/commit/c4f0485))
|
|
192
|
+
- 每日实时初筛 2026-08-27 ([89ffcc6](https://github.com/GuoSirius/candidate-pool/commit/89ffcc6))
|
|
193
|
+
- 每日初筛 2026-08-27T18:24:12Z ([a636f76](https://github.com/GuoSirius/candidate-pool/commit/a636f76))
|
|
194
|
+
- 每日实时初筛 2026-08-28 ([ffdb15b](https://github.com/GuoSirius/candidate-pool/commit/ffdb15b))
|
|
195
|
+
- 每日初筛 2026-08-28T19:34:56Z ([b57f011](https://github.com/GuoSirius/candidate-pool/commit/b57f011))
|
|
196
|
+
- 每日实时初筛 2026-08-31 ([66d6cd8](https://github.com/GuoSirius/candidate-pool/commit/66d6cd8))
|
|
197
|
+
- 每日初筛 2026-08-31T15:22:08Z ([bed5045](https://github.com/GuoSirius/candidate-pool/commit/bed5045))
|
|
198
|
+
- 每日实时初筛 2026-09-01 ([4ebca43](https://github.com/GuoSirius/candidate-pool/commit/4ebca43))
|
|
199
|
+
- 每日初筛 2026-09-01T12:43:42Z ([c389af9](https://github.com/GuoSirius/candidate-pool/commit/c389af9))
|
|
200
|
+
- 每日实时初筛 2026-09-02 ([6b11169](https://github.com/GuoSirius/candidate-pool/commit/6b11169))
|
|
201
|
+
- 每日初筛 2026-09-02T12:16:39Z ([a5ef4ab](https://github.com/GuoSirius/candidate-pool/commit/a5ef4ab))
|
|
202
|
+
- 每日实时初筛 2026-09-03 ([585f73c](https://github.com/GuoSirius/candidate-pool/commit/585f73c))
|
|
203
|
+
- 每日初筛 2026-09-03T12:14:28Z ([8b9e728](https://github.com/GuoSirius/candidate-pool/commit/8b9e728))
|
|
204
|
+
- 每日实时初筛 2026-09-04 ([41b41aa](https://github.com/GuoSirius/candidate-pool/commit/41b41aa))
|
|
205
|
+
- 每日初筛 2026-09-04T12:15:22Z ([cbb3eb5](https://github.com/GuoSirius/candidate-pool/commit/cbb3eb5))
|
|
206
|
+
- 每日实时初筛 2026-09-07 ([902abea](https://github.com/GuoSirius/candidate-pool/commit/902abea))
|
|
207
|
+
- 每日初筛 2026-09-07T13:40:00Z ([5e4a085](https://github.com/GuoSirius/candidate-pool/commit/5e4a085))
|
|
208
|
+
- 每日实时初筛 2026-09-08 ([d70f495](https://github.com/GuoSirius/candidate-pool/commit/d70f495))
|
|
209
|
+
- 每日初筛 2026-09-08T12:17:11Z ([fb96810](https://github.com/GuoSirius/candidate-pool/commit/fb96810))
|
|
210
|
+
- 每日实时初筛 2026-09-09 ([6c6f239](https://github.com/GuoSirius/candidate-pool/commit/6c6f239))
|
|
211
|
+
- 每日初筛 2026-09-09T12:28:24Z ([3501c55](https://github.com/GuoSirius/candidate-pool/commit/3501c55))
|
|
212
|
+
- 每日实时初筛 2026-09-10 ([8ee7774](https://github.com/GuoSirius/candidate-pool/commit/8ee7774))
|
|
213
|
+
- 每日初筛 2026-09-10T12:21:41Z ([0b0007a](https://github.com/GuoSirius/candidate-pool/commit/0b0007a))
|
|
214
|
+
- 每日实时初筛 2026-09-11 ([19d6ec9](https://github.com/GuoSirius/candidate-pool/commit/19d6ec9))
|
|
215
|
+
- 每日初筛 2026-09-11T12:20:31Z ([22d417a](https://github.com/GuoSirius/candidate-pool/commit/22d417a))
|
|
216
|
+
- 每日实时初筛 2026-09-14 ([1858b90](https://github.com/GuoSirius/candidate-pool/commit/1858b90))
|
|
217
|
+
- 每日初筛 2026-09-14T14:23:09Z ([8b58919](https://github.com/GuoSirius/candidate-pool/commit/8b58919))
|
|
218
|
+
- 每日实时初筛 2026-09-15 ([0810ac3](https://github.com/GuoSirius/candidate-pool/commit/0810ac3))
|
|
219
|
+
- 每日初筛 2026-09-15T12:52:40Z ([807fade](https://github.com/GuoSirius/candidate-pool/commit/807fade))
|
|
220
|
+
- 每日实时初筛 2026-09-16 ([ef70d16](https://github.com/GuoSirius/candidate-pool/commit/ef70d16))
|
|
221
|
+
- 每日初筛 2026-09-16T12:48:34Z ([84a9da8](https://github.com/GuoSirius/candidate-pool/commit/84a9da8))
|
|
222
|
+
- 每日实时初筛 2026-09-17 ([e610a0b](https://github.com/GuoSirius/candidate-pool/commit/e610a0b))
|
|
223
|
+
- 产物改走 daily-artifacts 分支分离 + 工作流补 npm ci + README 数据/部署说明 ([3364ff9](https://github.com/GuoSirius/candidate-pool/commit/3364ff9))
|
|
224
|
+
- One-click web deploy script (Pages) + worker smoke test ([dfb958b](https://github.com/GuoSirius/candidate-pool/commit/dfb958b))
|
|
225
|
+
- Ignore wrangler local state (.wrangler/, .dev.vars) ([5949954](https://github.com/GuoSirius/candidate-pool/commit/5949954))
|
|
226
|
+
- Add npm run setup to install all three packages in one command ([03ce0e5](https://github.com/GuoSirius/candidate-pool/commit/03ce0e5))
|
|
227
|
+
- Install ([edea5fa](https://github.com/GuoSirius/candidate-pool/commit/edea5fa))
|
|
228
|
+
|
|
229
|
+
### ⚙️ 持续集成 (CI)
|
|
230
|
+
|
|
231
|
+
- Bump workflow node-version to 24; qualify daily-artifacts push ref ([109a1f5](https://github.com/GuoSirius/candidate-pool/commit/109a1f5))
|
|
232
|
+
|
|
233
|
+
### ❤️ Contributors
|
|
234
|
+
|
|
235
|
+
- 郭之存 ([@siriusSupreme](http://github.com/siriusSupreme))
|
|
236
|
+
- WorkBuddy <workbuddy@local>
|
|
237
|
+
|
|
238
|
+
## v1.0.0 (2026-09-18)
|
|
239
|
+
|
|
240
|
+
初始版本。
|
|
241
|
+
|
|
242
|
+
- 🚀 **初筛流水线**:`gen_candidates.js` 基于可编辑观察池(`candidates.json`)套用 R01 量能验证突破 + R07 板块内补涨(+ R05 尾盘异动核验),输出单文件、资源全内联、支持中英切换的 HTML 报告。
|
|
243
|
+
- 🚀 **结构化入库**:本地 SQLite(开发)+ Cloudflare D1(生产)共用一套建表/写入逻辑,支持入选后 N1/N2/N3/N5/N7/N9/N10 日表现复盘。
|
|
244
|
+
- 🚀 **只读 API**:Hono + TypeScript,以 Worker 或 Pages Functions 两种形态暴露统一 `{ code, message, data }` 接口。
|
|
245
|
+
- 🚀 **Vue3 + Vite PWA 前端**:候选列表 / 复盘统计 / 规则释义 / 个股复盘四页。
|