fix: 将 Tencent 日 K 保持为最终兜底 (#2107)

* fix: keep Tencent daily data as final fallback

* fix(review-feedback-2107): 补一个覆盖 python scripts/check env.py --fetch 或“先 import data provider 再读取
This commit is contained in:
zhulinsen
2026-07-26 20:32:12 +08:00
committed by GitHub
parent 20c399e793
commit 90f62349af
10 changed files with 167 additions and 8 deletions

View File

@@ -871,7 +871,7 @@ ADMIN_AUTH_ENABLED=false
# Data Fetcher Priority Configuration
# ===========================================
# Lower number = higher priority (tried first)
# Default priorities: efinance(0) > akshare(1) > tushare/pytdx(2) > baostock(3) > yfinance(4)
# Default priorities: efinance(0) > akshare(1) > tushare/pytdx(2) > baostock(3) > yfinance(4) > tencent(5)
# For US stocks, set YFINANCE_PRIORITY=0 to use Yahoo Finance first
# EFINANCE_PRIORITY=0 # EastMoney (China) - default: 0
@@ -888,6 +888,8 @@ ADMIN_AUTH_ENABLED=false
# Or multiple servers: PYTDX_SERVERS=ip1:port1,ip2:port2
# BAOSTOCK_PRIORITY=3 # Baostock (China) - default: 3
# YFINANCE_PRIORITY=4 # Yahoo Finance (Global) - default: 4
# TENCENT_PRIORITY=5 # Tencent direct daily K-line (China) - last-resort
# # A-share fallback. Default: 5
# Example: Prioritize Yahoo Finance for US stocks
# YFINANCE_PRIORITY=0