wallstreet
yfinance
Our great sponsors
wallstreet | yfinance | |
---|---|---|
129 | 59 | |
1,211 | 11,778 | |
- | - | |
3.7 | 9.0 | |
14 days ago | 9 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wallstreet
yfinance
-
How to catch exceptions in library?
If you check the file here - https://github.com/ranaroussi/yfinance/blob/main/yfinance/base.py - you can see this is communicated via the "raise Exception('%s: %s' % (self.ticker, err_msg))" line. I'm trying to use the following to catch the exception but no luck.
-
Api gratuite pour récupération des données de la bourse?
J'utilise yfinance en Python.
- Where to get historical data for biggest gainers/losers each day? (stocks)
-
Pandas Datareader
You should give yfinance a try (Github)
- Yfinance problem
-
A little dive into the seismic GME graph that was floating around the sub lately
This is cool. I’ve been playing around with plotting data as well, though I’ve used other tools, specifically yfinance to download data and gnuplot for the graphs. I think you found the easier to use graph library, but I recommend you check out yfinance for getting the data in the same script.
-
Python and Beautiful Soup - Webscraping Yahoo Finance
You might look at the yfinance module. It's done the work for you.
-
I made a Finance Database with over 300.000 tickers to make Investment Decisions easier
That's where you have APIs FundamentalAnalysis, yfinance and OpenBB for that connect very well with my database.
-
If you bought every stock removed from the ASX200 in 2020, you would've outperformed the ASX200 by 55% over the last two years. You would also have outperformed someone who bought every stock added to the ASX200 by 85%.
From the S&P Global rebalancing announcements, I pulled every company that was added and removed from the ASX200 in 2020 and made two separate portfolios of even weighting of all stocks. I then backtested, including dividends, the performance of both across the past two years with yfinance.
-
Yahoo Finance Python BUG
Well, it's not a "Yahoo! Finance" issue. yfinance is a 3rd party project and isn't associated with Yahoo!. And it's apparently a known issue that started today: https://github.com/ranaroussi/yfinance/issues/1246
What are some alternatives?
FinanceDatabase - This is a database of 300.000+ symbols containing Equities, ETFs, Funds, Indices, Currencies, Cryptocurrencies and Money Markets.
pandas-datareader - Extract data from a wide range of Internet sources into a pandas DataFrame.
mplfinance - Financial Markets Data Visualization using Matplotlib
investpy - Financial Data Extraction from Investing.com with Python
langchain-stock-screener - LangChain agent usable tool to screen stock data
yahoofinance-api - Java Client API for Yahoo Finance
yflive - Live Data Streamer for Yahoo! Finance
Alpaca-API - The Alpaca API is a developer interface for trading operations and market data reception through the Alpaca platform.
ark_invest - daily report of @arkinvest ETF activity + data collection
finnhub-python - Finnhub Python API Client. Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals, global ETFs holdings and alternative data. https://finnhub.io/docs/api
awesome-quant - A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)