mirror of
https://github.com/ZhuLinsen/daily_stock_analysis
synced 2026-09-20 10:53:33 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user