[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2316":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},2316,"yfinance","ranaroussi\u002Fyfinance","ranaroussi","Download market data from Yahoo! Finance's API","https:\u002F\u002Franaroussi.github.io\u002Fyfinance",null,"Python",24201,3312,277,96,0,18,158,628,93,45,"Apache License 2.0",false,"main",true,[27,28,29,30,31,32,33,34],"financial-data","fix-yahoo-finance","market-data","pandas","python","stock-data","yahoo-finance","yahoo-finance-api","2026-06-12 02:00:40","\u003Cimg src=\".\u002Fdoc\u002Fyfinance-gh-logo-dark.webp#gh-dark-mode-only\" height=\"100\">\n\u003Cimg src=\".\u002Fdoc\u002Fyfinance-gh-logo-light.webp#gh-light-mode-only\" height=\"100\">\n\n# Download market data from Yahoo! Finance's API\n\n\u003Ca target=\"new\" href=\"https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fyfinance\">\u003Cimg border=0 src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-2.7,%203.6+-blue.svg?style=flat\" alt=\"Python version\">\u003C\u002Fa>\n\u003Ca target=\"new\" href=\"https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fyfinance\">\u003Cimg border=0 src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fyfinance.svg?maxAge=60%\" alt=\"PyPi version\">\u003C\u002Fa>\n\u003Ca target=\"new\" href=\"https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fyfinance\">\u003Cimg border=0 src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fstatus\u002Fyfinance.svg?maxAge=60\" alt=\"PyPi status\">\u003C\u002Fa>\n\u003Ca target=\"new\" href=\"https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fyfinance\">\u003Cimg border=0 src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fdm\u002Fyfinance.svg?maxAge=86400&label=installs&color=%2327B1FF\" alt=\"PyPi downloads\">\u003C\u002Fa>\n\u003Ca target=\"new\" href=\"https:\u002F\u002Fgithub.com\u002Franaroussi\u002Fyfinance\">\u003Cimg border=0 src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Franaroussi\u002Fyfinance.svg?style=social&label=Star&maxAge=60\" alt=\"Star this repo\">\u003C\u002Fa>\n\u003Ca target=\"new\" href=\"https:\u002F\u002Fx.com\u002Fintent\u002Ffollow?screen_name=aroussi\">\u003Cimg border=0 src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Faroussi.svg?style=social&label=Follow&maxAge=60\" alt=\"Follow me on twitter\">\u003C\u002Fa>\n\n\u003Ca href=\"https:\u002F\u002Ftrendshift.io\u002Frepositories\u002F4578\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Ftrendshift.io\u002Fapi\u002Fbadge\u002Frepositories\u002F4578\" alt=\"ranaroussi%2Fyfinance | Trendshift\" style=\"width: 250px; height: 55px;\" width=\"250\" height=\"55\"\u002F>\u003C\u002Fa>\n\n**yfinance** offers a Pythonic way to fetch financial & market data from [Yahoo!Ⓡ finance](https:\u002F\u002Ffinance.yahoo.com).\n\n---\n\n> [!IMPORTANT]  \n> **Yahoo!, Y!Finance, and Yahoo! finance are registered trademarks of Yahoo, Inc.**\n>\n> yfinance is **not** affiliated, endorsed, or vetted by Yahoo, Inc. It's an open-source tool that uses Yahoo's publicly available APIs, and is intended for research and educational purposes.\n> \n> **You should refer to Yahoo!'s terms of use** ([here](https:\u002F\u002Fpolicies.yahoo.com\u002Fus\u002Fen\u002Fyahoo\u002Fterms\u002Fproduct-atos\u002Fapiforydn\u002Findex.htm), [here](https:\u002F\u002Flegal.yahoo.com\u002Fus\u002Fen\u002Fyahoo\u002Fterms\u002Fotos\u002Findex.html), and [here](https:\u002F\u002Fpolicies.yahoo.com\u002Fus\u002Fen\u002Fyahoo\u002Fterms\u002Findex.htm)) **for details on your rights to use the actual data downloaded.\n>\n> Remember - the Yahoo! finance API is intended for personal use only.**\n\n---\n\n> [!TIP]\n> THE NEW DOCUMENTATION WEBSITE IS NOW LIVE! 🤘\n> \n> Visit [**ranaroussi.github.io\u002Fyfinance**](https:\u002F\u002Franaroussi.github.io\u002Fyfinance)\n\n---\n\n## Main components\n\n- `Ticker`: single ticker data\n- `Tickers`: multiple tickers' data\n- `download`: download market data for multiple tickers\n- `Market`: get information about a market\n- `WebSocket` and `AsyncWebSocket`: live streaming data\n- `Search`: quotes and news from search\n- `Sector` and `Industry`: sector and industry information\n- `EquityQuery` and `Screener`: build query to screen market\n\n## Installation\n\nInstall `yfinance` from PYPI using `pip`:\n\n``` {.sourceCode .bash}\n$ pip install yfinance\n```\n\n### [yfinance relies on the community to investigate bugs and contribute code. Here's how you can help.](https:\u002F\u002Fgithub.com\u002Franaroussi\u002Fyfinance\u002Fblob\u002Fmain\u002FCONTRIBUTING.md)\n\n---\n\n![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=ranaroussi\u002Fyfinance)\n\n---\n\n### Legal Stuff\n\n**yfinance** is distributed under the **Apache Software License**. See\nthe [LICENSE.txt](https:\u002F\u002Fgithub.com\u002Franaroussi\u002Fyfinance\u002Fblob\u002Fmain\u002FLICENSE.txt) file in the release for details.\n\nAGAIN - yfinance is **not** affiliated, endorsed, or vetted by Yahoo, Inc. It's\nan open-source tool that uses Yahoo's publicly available APIs, and is\nintended for research and educational purposes. You should refer to Yahoo!'s terms of use\n([here](https:\u002F\u002Fpolicies.yahoo.com\u002Fus\u002Fen\u002Fyahoo\u002Fterms\u002Fproduct-atos\u002Fapiforydn\u002Findex.htm),\n[here](https:\u002F\u002Flegal.yahoo.com\u002Fus\u002Fen\u002Fyahoo\u002Fterms\u002Fotos\u002Findex.html), and\n[here](https:\u002F\u002Fpolicies.yahoo.com\u002Fus\u002Fen\u002Fyahoo\u002Fterms\u002Findex.htm)) for\ndetails on your rights to use the actual data downloaded.\n\n---\n\n### P.S.\n\nPlease drop me a note with any feedback you have.\n\n**Ran Aroussi**\n\n","yfinance 是一个用于从 Yahoo! Finance API 下载市场数据的 Python 库。其核心功能包括通过 Ticker 类获取单个或多个股票的数据、使用 download 方法批量下载市场数据，以及支持 WebSocket 实时流式传输数据等。该库充分利用了 pandas 数据结构来处理和展示金融数据，使得数据操作更加便捷高效。yfinance 适用于需要进行金融市场分析、量化交易策略开发或是教育研究等领域，能够帮助用户快速获取并利用高质量的财经数据。需要注意的是，yfinance 并非由 Yahoo 官方提供支持，而是基于公开 API 构建的开源工具，在使用时应遵守 Yahoo 的相关条款。",2,"2026-06-11 02:49:28","top_language"]