tool
yfinance
created 2026-05-04 tool · finance · data · market-data · free
yfinance
Free Python wrapper around Yahoo Finance public endpoints. De-facto standard for HK and US equities when you don’t want to pay for a data API.
Why It Matters
- No API key needed
- Solid coverage for HK + US equities, indices, and ETFs
- Used by vibe-trading as the HK/US default and benchmark resolver (SPY, CSI 300, etc. for benchmark comparison panels)
Caveats
- Yahoo’s endpoints are unofficial — break occasionally and silently.
- Historical depth varies by symbol; intraday is limited.
- Not appropriate for production trading systems where uptime matters.
Related
- AKShare — A-share-first counterpart, also covers HK/US
- CCXT — crypto equivalent
- vibe-trading — usage in a multi-agent finance stack