mumu
6ab39a14ad
Merge pull request #17 from sbugzu/main
...
增加港股支持,切换 python 源到阿里云
2026-01-17 10:18:54 +08:00
Developer
f652638044
feat: 添加 efinance 数据源支持(最高优先级)
...
- 新增 EfinanceFetcher 数据获取器(Priority 0)
- 数据源:https://github.com/Micro-sheep/efinance
- 支持股票历史K线、ETF数据、实时行情、基本信息等
- 更新 DataFetcherManager 默认数据源顺序
- 添加 efinance>=0.5.5 依赖
数据源优先级顺序:
0. EfinanceFetcher (efinance)
1. AkshareFetcher (akshare)
2. TushareFetcher (tushare)
3. BaostockFetcher (baostock)
4. YfinanceFetcher (yfinance)
2026-01-16 16:26:54 +00:00
zhulinsen
48ca4ee742
chore: block env files and require version check in bug reports
...
- Expand .gitignore to block all *.env files (prevents accidental credential leaks like #57 )
- Update bug_report.md template to require version confirmation before submitting issues
v1.0.0
2026-01-16 22:09:29 +08:00
mumu
261c4230a8
Merge pull request #34 from hhaishen/main
...
- 修复深市指数数据获取异常 & 暂时禁用北向资金模块(北向资金数据已停止公布)
- fix #54
2026-01-16 21:48:00 +08:00
zhulinsen
2a80946884
fix: render Feishu markdown via interactive card and formatter ( fixes #33 )
2026-01-15 21:27:32 +08:00
zhulinsen
90dde2ecd7
fix: hot-reload STOCK_LIST before analysis ( fixes #42 )
2026-01-15 20:40:56 +08:00
Alfred
2cb3c89e91
fix: 在main.py中添加bocha_keys参数初始化SearchService
...
- 修复StockAnalysisScheduler初始化SearchService时缺少bocha_keys参数
- 修复大盘复盘功能中SearchService初始化缺少bocha_keys参数
- 修复检查条件,包含bocha_api_keys的判断
2026-01-15 02:19:40 +08:00
Alfred
aaa4c0a323
debug: 添加BOCHA_API_KEYS调试输出
...
- 在运行日志中显示BOCHA_API_KEYS是否配置
- 显示BOCHA_API_KEYS的长度(用于诊断问题)
2026-01-15 02:14:12 +08:00
Alfred
fcd77aa5de
fix: 在GitHub Actions工作流中添加BOCHA_API_KEYS环境变量
...
- 添加BOCHA_API_KEYS到工作流的环境变量配置
- 修复Actions运行时提示未配置搜索引擎的问题
2026-01-15 01:54:39 +08:00
Alfred
c7dfb183d4
docs: 调整博查搜索配置位置和说明
...
- 将BOCHA_API_KEYS放在TAVILY_API_KEYS下面
- 更新说明为:中文搜索优化,支持AI摘要,多个key用逗号分隔
- 在环境变量示例中将BOCHA_API_KEYS移到可选部分,放在TAVILY_API_KEYS下面
2026-01-15 01:33:39 +08:00
Alfred
34dce658ce
docs: 更新README添加博查搜索API配置说明
...
- 在数据来源部分添加Bocha搜索
- 在其他配置部分添加BOCHA_API_KEYS配置项
- 在环境变量示例中添加博查搜索配置
2026-01-15 01:29:12 +08:00
hhaishen
6f510e377f
Update market_analyzer.py
...
北向资金已于2024年8月19日之后不再提供数据,注释掉相关代码
2026-01-14 23:43:54 +08:00
hhaishen
ae2e21f21d
Update market_analyzer.py
...
修复6个指数2个获取失败问题,更改为新浪财经接口
2026-01-14 23:38:13 +08:00
zhulinsen
ece5563686
docs: update README with star history and open collaboration note
2026-01-14 22:12:13 +08:00
mumu
99de3ca3d9
Merge pull request #25 from Sugayoiya/main
...
fix: 修复 notification.py 测试代码中调用不存在方法的问题
2026-01-14 21:59:59 +08:00
zhulinsen
01dd381241
fix: use GEMINI_MODEL_FALLBACK or default model for PR
2026-01-14 21:42:12 +08:00
mumu
de8fe65508
Merge pull request #13 from Loveyless/fix/custom-webhook-full-report-utf8
...
Fix/修复推送内容被企业微信专用截断逻辑污染的问题
# 14
# 21
# 28
2026-01-14 21:22:57 +08:00
zhulinsen
9370fa17ea
fix: ensure AI review uses main branch scripts and securely loads API keys
2026-01-14 21:15:56 +08:00
zhulinsen
29255b8ec2
fix: fix PR review permissions and add sensitive file protection
2026-01-14 20:58:51 +08:00
zhulinsen
9fcb5a8df1
feat: 添加自动关闭过期内容和改进 AI 审查调试
2026-01-14 20:40:17 +08:00
zhulinsen
3dded794d7
fix: 修复多个 Issues
...
- #23 ETF 筹码分布:跳过 ETF/指数的筹码分布调用
- #16 OpenAI SOCKS 代理:改进错误提示,添加 httpx[socks] 依赖
- #15 大盘复盘报告:添加报告文件保存功能
2026-01-14 20:20:51 +08:00
Alfred
20f5731897
feat: 集成博查搜索Web Search API
...
- 新增BochaSearchProvider搜索引擎类,支持中文搜索和AI摘要
- 添加bocha_api_keys配置项,支持多Key负载均衡
- 将Bocha设为第一优先级搜索引擎(中文优化)
- 搜索时间范围设置为oneMonth,适合捕获财报公告等信息
- 完善异常处理和错误日志记录
- 修复source字段逻辑,确保空值正确fallback到域名提取
2026-01-14 18:54:51 +08:00
Krane
76245f7c57
Update .env.example
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-14 18:35:39 +08:00
Krane
3ed24b5f29
feat: update readme.md todo list.
...
(cherry picked from commit adbb93a42d )
2026-01-14 18:26:15 +08:00
Krane
adbb93a42d
feat: update readme.md todo list.
2026-01-14 18:25:33 +08:00
Krane
253acb296f
feat: Support iOS/Android push notification(Pushover)
2026-01-14 18:21:37 +08:00
Sugayoiya
2f2a6274db
fix: 渠道通知测试方法不存在
2026-01-14 18:19:35 +08:00
sbugzu
a6f9ca4cfa
增加对港股支持,5 位代码或者 HK 打头
2026-01-14 12:10:04 +08:00
sbugzu
6a8520d54f
修改源为阿里云
2026-01-14 11:25:41 +08:00
Loveyless
16223a0be4
Fix: send custom webhook JSON in UTF-8
...
CUSTOM webhooks were receiving JSON-escaped Unicode (e.g. \\u5229...) because requests' json= payload uses ensure_ascii=True by default.
Change send_to_custom() to serialize payload with json.dumps(..., ensure_ascii=False), send bytes as UTF-8, and set Content-Type to application/json; charset=utf-8.
Impact: receivers see proper Chinese characters in the payload fields.
2026-01-14 08:23:57 +08:00
Loveyless
7159fc6ccc
Merge branch 'ZhuLinsen:main' into main
2026-01-14 01:46:09 +08:00
Loveyless
91bf740627
Fix: custom webhook should receive full report
...
Root cause: _send_notifications broadcast the WeChat dashboard (generate_wechat_dashboard), which hard-truncates at 3800 chars and appends ...(已截断), to all channels via NotificationService.send().
Change: split content by channel.
- WeChat: keep sending the compact dashboard.
- Feishu/Telegram/Email/Custom webhook: send the full dashboard report (generate_dashboard_report output).
Impact: custom webhooks no longer get the WeChat-specific truncation tail; WeChat behavior remains unchanged.
2026-01-14 01:43:25 +08:00
mumu
b1bfea5dad
Merge pull request #10 from liuxu379/feature/feishu_word:support feishu doc
...
添加飞书文档支持
2026-01-13 22:52:51 +08:00
zhulinsen
535d774f4b
fix: 修复 pr-review.yml YAML 语法错误
2026-01-13 22:32:52 +08:00
zhulinsen
30c48a476d
ci: 优化工作流触发条件
...
- PR Review 支持手动触发
- CI/PR 只在代码文件变更时触发(忽略 README、文档等)
- README 添加大盘复盘截图
2026-01-13 22:23:44 +08:00
zhulinsen
72b6723f74
feat: PR自动审查
2026-01-13 22:17:41 +08:00
mumu
bcfe8657cf
Merge pull request #7 from Wu-Gao/main
...
feat: 增加 ETF 基金数据获取支持
2026-01-13 21:58:55 +08:00
zhulinsen
97c50a6595
feat: 飞书/企业微信消息超长自动分批发送
2026-01-13 21:39:01 +08:00
xu.liu
ccd7b2e8d7
添加飞书文档支持
2026-01-13 21:25:36 +08:00
zhulinsen
4a41162013
ci: 添加 PR 自动检测 CI 流程
2026-01-13 20:34:57 +08:00
wugao-mac
4e131ed322
feat: 增加 ETF 基金数据获取支持
...
## 变更类型
- [x] ✨ 新功能
## 变更描述
为 AkshareFetcher 增加 ETF 基金支持,可自动识别 ETF 代码并调用对应的 akshare API:
- 历史数据:ak.fund_etf_hist_em()
- 实时行情:ak.fund_etf_spot_em()
## 新增功能
- _is_etf_code(): ETF 代码识别(支持上交所/深交所 ETF)
- _fetch_etf_data(): ETF 历史数据获取
- _get_etf_realtime_quote(): ETF 实时行情获取
- ETF 实时行情缓存机制
## 支持的 ETF 代码
- 上交所 ETF: 51xxxx, 52xxxx, 56xxxx, 58xxxx
- 深交所 ETF: 15xxxx, 16xxxx, 18xxxx
## 检查清单
- [x] 代码符合项目规范
- [x] 已添加必要的注释/文档
- [x] 已在本地测试通过
2026-01-12 20:22:31 +08:00
zhulinsen
34606e36b3
fix: 企业微信长消息分批发送
2026-01-12 17:10:06 +08:00
zhulinsen
b55f12ff1a
chore: disable local proxy settings by default
2026-01-12 15:25:15 +08:00
zhulinsen
704ff9a7c2
feat: 自定义 Webhook 支持 (钉钉/Discord/Slack/Bark 等)
2026-01-12 14:19:23 +08:00
zhulinsen
5b80815d66
fix: 补充 SERPAPI_API_KEYS 配置说明
2026-01-11 22:43:10 +08:00
zhulinsen
4df277e109
feat: 多渠道通知支持 (企业微信/飞书/Telegram/邮件同时推送)
2026-01-11 22:37:03 +08:00
zhulinsen
5d5c095be5
feat: add OpenAI-compatible API support
2026-01-11 15:46:23 +08:00
zhulinsen
3ba7342c3e
update readme and reduce the use of emojis
2026-01-10 16:01:21 +08:00
zhulinsen
4a003c94ea
Initial commit: A股智能分析系统
2026-01-10 15:38:56 +08:00