Merge pull request #1889 from Gach-Coder/docs/add-data-source-guide

docs: 在 README 快速开始中添加行情数据源配置说明 (get259#1775)
This commit is contained in:
Gach-Coder
2026-07-05 19:17:13 +08:00
committed by GitHub
parent 34f02af617
commit a43daa4331
4 changed files with 37 additions and 0 deletions

View File

@@ -125,6 +125,18 @@
更多搜索源、社交舆情和降级规则见 [搜索服务配置](docs/full-guide.md#搜索服务配置)。
**行情数据源配置(可选)**
> 默认使用 AkShare、Baostock、YFinance 等免费数据源,日志中"未配置"的提示不影响运行。
> 如需更稳定的行情,可按市场配置以下 Secret
| Secret 名称 | 适用市场 | 说明 |
|------------|:--------:|------|
| `TUSHARE_TOKEN` | A 股 | 提升历史行情稳定性 |
| `LONGBRIDGE_OAUTH_CLIENT_ID` + `LONGBRIDGE_OAUTH_TOKEN_CACHE_B64` | 港股/美股 | 补齐量比、换手率、PE 等字段 |
> 详见 [数据源配置](docs/full-guide.md#数据源配置)。
#### 3. 启用 Actions
`Actions` 标签 → `I understand my workflows, go ahead and enable them`

View File

@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
- [修复] 修复桌面端 `WEBUI_HOST=*` / `WEBUI_HOST=[::]` 会被原样传给端口探测和后端启动导致无法监听的问题,启动前分别规范化为 `0.0.0.0` / `::`
- [改进] `STOCK_LIST` 自选股解析支持中文逗号、顿号、分号、空格和换行等常见粘贴分隔符运行时、定时热刷新、CLI `--stocks`、Web 设置保存和自选 API 统一识别,并在写回时规范为英文逗号。
- [改进] 新增 `NEWS_INTEL_AUTO_FETCH_ENABLED` 单开关开启后个股分析、Agent 分析和大盘复盘会 fail-open 自动初始化并刷新 RSS/Atom/NewsNow 本地资讯池。
- [文档] 在 README 快速开始中补充行情数据源配置说明TUSHARE_TOKEN / Longbridge明确未配置时仍可走 AkShare、Baostock、YFinance 等免费兜底源日志中相关提示不影响运行。同步更新docs下的中英双份 README
<!-- 新条目格式:- [类型] 描述(类型取值:新功能/改进/修复/文档/测试/chore-->
<!-- 每条独立一行追加到本段末尾,无需分类标题,合并时冲突最小 -->

View File

@@ -126,6 +126,18 @@
更多搜尋源、社交輿情和降級規則見 [搜尋服務配置](./full-guide.md#搜索服务配置)。
**行情數據源配置(可選)**
> 預設使用 AkShare、Baostock、YFinance 等免費數據源,日誌中「未配置」的提示不影響執行。
> 如需更穩定的行情,可按市場配置以下 Secret
| Secret 名稱 | 適用市場 | 說明 |
|-------------|:--------:|------|
| `TUSHARE_TOKEN` | A 股 | 提升歷史行情穩定性 |
| `LONGBRIDGE_OAUTH_CLIENT_ID` + `LONGBRIDGE_OAUTH_TOKEN_CACHE_B64` | 港股/美股 | 補齊量比、換手率、PE 等欄位 |
> 詳見 [數據源配置](./full-guide.md#数据源配置)。
#### 3. 啟用 Actions
`Actions` 標籤 -> `I understand my workflows, go ahead and enable them`

View File

@@ -126,6 +126,18 @@ News search strongly improves sentiment, announcements, events, and catalyst qua
More search providers, social sentiment, and fallback behavior are in [Search Configuration](./full-guide_EN.md#search-service-configuration).
**Market data sources (optional)**
> Free sources like AkShare, Baostock, and YFinance are used by default. "Not configured" messages in the logs are informational and do not affect execution.
> For more stable data, configure the following secrets per market:
| Secret Name | Market | Description |
|-------------|:------:|-------------|
| `TUSHARE_TOKEN` | A-shares | Improves historical data stability |
| `LONGBRIDGE_OAUTH_CLIENT_ID` + `LONGBRIDGE_OAUTH_TOKEN_CACHE_B64` | HK/US stocks | Fills in volume ratio, turnover rate, P/E, and other fields |
> See [Data Source Configuration](./full-guide_EN.md#data-source-configuration).
#### 3. Enable Actions
Open the `Actions` tab and click `I understand my workflows, go ahead and enable them`.