Files
daily_stock_analysis/.gitignore
DragonL641 51e7337882 feat: add Finnhub & AlphaVantage US market data source adapters (#1313)
* feat: add Finnhub and AlphaVantage API key config fields

* feat: add FinnhubFetcher for US market OHLCV and realtime quotes

* feat: add AlphaVantageFetcher for US market OHLCV and realtime quotes

* feat: register FinnhubFetcher and AlphaVantageFetcher in DataFetcherManager

* fix: address PR review feedback on US fetcher routing and AlphaVantage pct_chg

- Fix AlphaVantage pct_chg calculation: sort by date ascending before
  computing percentage change to handle newest-first API response
- Extend US daily routing source_order to include FinnhubFetcher and
  AlphaVantageFetcher in the failover chain
- Add newest-first pct_chg regression test for AlphaVantage
- Add US routing fallback order test
- Update CHANGELOG.md with new feature and fix entries
- Add docs/specs/ to .gitignore to prevent accidental commits

Verified: 1956 tests passed, ci_gate.sh clean

* fix: address third round PR review - routing gaps, index isolation, CHANGELOG cleanup

- Isolate US index routing: YFinance-first, skip Finnhub/AlphaVantage for index codes
- Add Finnhub/AlphaVantage to US realtime_quote and get_stock_name routing
- Clean CHANGELOG.md: only our 3 Finnhub/AlphaVantage entries in [Unreleased]
2026-05-17 21:24:34 +08:00

88 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 环境变量文件(包含敏感信息,禁止提交)
.env
.env.*
*.env
*.env.local
.env.*.local
# 测试文件(可能包含敏感配置)
# 仅忽略仓库根目录下的临时 test_*.py 脚本tests/ 目录下的单元测试需要纳入版本控制。
/test_*.py
/test.sh
# 本地评审与高级路由配置(可能包含敏感信息或临时分析产物)
/.codex
/review.md
/litellm_config.yaml
/litellm_config.*.yaml
# 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 workspace artifacts, but keep shared repo skills versioned
.claude/*
!.claude/skills/
!.claude/skills/**
# ignore static files
static/
/apps/dsa-desktop/dist/
/apps/dsa-desktop/node_modules/
docs/specs/