yfinance
Updated Dec 4, 2026
Open SourceBacktesting & strategyCoder
It is not affiliated, endorsed or vetted by Yahoo, and it relies on Yahoo’s public endpoints, which can change without notice. Its page says the data is intended for personal use only, so check Yahoo’s terms before using it in a product.
- Official site
- github.com/ranaroussi/yfinance (opened Dec 4, 2026)
- Pricing
- Free and open source (Apache-2.0 license). It downloads data from Yahoo Finance’s publicly available APIs. · source, checked Dec 4, 2026
Add to cost calculator · Price changes we tracked - Markets
- stocks, forex, crypto · source
- How it touches your money
- Never touches your money. An open-source Python library that downloads market data from Yahoo Finance. It runs on your machine and does not place trades. · source
- Paper mode
- Not applicable: it does not place orders
- Does each order need your approval?
- Not applicable: it does not place orders
- Known incidents
- No breach, regulatory action or lawsuit involving the yfinance project found in our search (Dec 4, 2026). (searched Dec 4, 2026: breaches, outages affecting funds, regulator actions, lawsuits, data leaks)
Facts come from the official pages linked above, checked on the dates shown. Prices change; confirm on the vendor's site before paying. How we review tools. This is a software description, not a recommendation to buy any tool, security or crypto asset.
Visit yfinance →
Some TraderStacks links are affiliate links; we may earn a commission at no extra cost to you. Disclosure
Last checked Dec 4, 2026. Spotted something wrong or out of date? Report a correction · Incident tracker
We'll email you when we record a price change or a new known incident for yfinance. Nothing else. You confirm by email first, and every alert has a one-click unsubscribe.
Related tools
- Claude / Claude Code · Freemium
- ChatGPT · Freemium
- LuxAlgo (Quant) · Freemium
yfinance FAQ
How much does yfinance cost?
Free and open source (Apache-2.0 license). It downloads data from Yahoo Finance’s publicly available APIs. (from the official pricing page, checked Dec 4, 2026). Prices change; confirm on the vendor's site before paying.
Does yfinance have a free tier?
Yes. yfinance is open source and free to use; see the pricing answer for any paid options.
Which markets does yfinance cover?
yfinance covers stocks, forex, crypto, according to its official site.
Does yfinance touch my money or brokerage account?
Never touches your money. An open-source Python library that downloads market data from Yahoo Finance. It runs on your machine and does not place trades.
