Comparison
akshare vs finance-datareader vs pytdx vs yfinance
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
AKShare is an elegant and simple financial data interface library for Python, built for human beings!
Actively maintained. Last release 2 days ago, commits in 16 of the last 26 weeks. A safe choice.
pip install akshareFinancial data reader (price, stock list of markets)
Maintained. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install finance-datareaderA Python Interface to TDX protocol
Archived. The repository is read-only: no more fixes or releases will come.
pip install pytdxDownload market data from Yahoo! Finance API
Actively maintained. Last release 4 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
pip install yfinanceIn short
- pytdx is archived: avoid it for new projects.
- yfinance is the most used: 16.5M downloads a month, 12× more than akshare.
- Maintenance is comparable: yfinance 90, akshare 88, finance-datareader 45 on Pythie’s Index.
- akshare is growing fastest: downloads +22% over the last month.
- Safe default for a new project: yfinance.
Side by side
| Metric | akshare | finance-datareader | pytdx | yfinance |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 45 | Pythie’s Index: 4 | Pythie’s Index: 90 |
| Verdict | Actively maintained | Maintained | Archived | Actively maintained |
| Downloads / month | 1.3M | 239.8K | 93K | 16.5M |
| Downloads, month over month | +22% | +15% | +1% | +1% |
| GitHub stars | 23.6K | 1.6K | 1.6K | 26.1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 11 | 20 | 793 |
| Last release | Dec 1, 2026 | May 13, 2026 | Aug 26, 2019 | Nov 3, 2026 |
| Releases, 12 months | 180 | 7 | 0 | 13 |
| Weeks with commits | 16 / 26 | 0 / 26 | 0 / 26 | 23 / 26 |
| Recent contributors | 8 | 14 | 9 | 22 |
| First release | Apr 2025 | May 2018 | Jun 2017 | May 2019 |
| Python versions | 3.11 – 3.15 | 3.9 – 3.12 | – | 3.6 – 3.13 |
| License | MIT | MIT | unknown | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.