mirror of
https://github.com/ZhuLinsen/daily_stock_analysis
synced 2026-09-20 10:53:33 +08:00
* feat: enhance yfinance fetcher with Stooq fallback and stock mapping - Implement _get_us_stock_quote_from_stooq for US stock data resilience - Add stock_mapping.py for common stock code-to-name conversion - Add unit test for Stooq fallback logic - Part of #1 * feat: expand STOCK_NAME_MAP with major A-share stocks * refactor: decouple stock_mapping from yfinance_fetcher (optional import) * fix: correct Stooq fallback prev close and lint * fix: data fetcher improvements and gitignore updates - Prefer static stock name mapping for prefetch - Fix gitignore to track src/data - Document Stooq fallback prev close behavior in CHANGELOG This combines the last three commits while excluding README.md changes.
80 lines
863 B
Plaintext
80 lines
863 B
Plaintext
# 环境变量文件(包含敏感信息,禁止提交)
|
||
.env
|
||
.env.*
|
||
*.env
|
||
*.env.local
|
||
.env.*.local
|
||
|
||
# 测试文件(可能包含敏感配置)
|
||
# 仅忽略仓库根目录下的临时 test_*.py 脚本;tests/ 目录下的单元测试需要纳入版本控制。
|
||
/test_*.py
|
||
!test_env.py
|
||
|
||
# Python
|
||
__pycache__/
|
||
*.py[cod]
|
||
*$py.class
|
||
*.so
|
||
.Python
|
||
build/
|
||
develop-eggs/
|
||
dist/
|
||
downloads/
|
||
eggs/
|
||
.eggs/
|
||
lib/
|
||
lib64/
|
||
parts/
|
||
sdist/
|
||
var/
|
||
wheels/
|
||
*.egg-info/
|
||
.installed.cfg
|
||
*.egg
|
||
|
||
# 虚拟环境
|
||
venv/
|
||
ENV/
|
||
env/
|
||
.venv/
|
||
|
||
# IDE
|
||
.idea/
|
||
.vscode/
|
||
*.swp
|
||
*.swo
|
||
*~
|
||
.cursorrules
|
||
|
||
# 数据和日志
|
||
/data/
|
||
logs/
|
||
reports/
|
||
*.db
|
||
*.sqlite
|
||
*.sqlite3
|
||
|
||
# 系统文件
|
||
.DS_Store
|
||
Thumbs.db
|
||
|
||
# 测试
|
||
.pytest_cache/
|
||
.coverage
|
||
htmlcov/
|
||
|
||
local/
|
||
|
||
run.sh
|
||
|
||
verify_*.py
|
||
|
||
# ignore claude files
|
||
.claude/
|
||
CLAUDE.md
|
||
|
||
# ignore static files
|
||
static/
|
||
/apps/dsa-desktop/dist/
|
||
/apps/dsa-desktop/node_modules/
|