yfinance
finnhub-python
Our great sponsors
yfinance | finnhub-python | |
---|---|---|
59 | 38 | |
11,722 | 492 | |
- | 2.4% | |
9.0 | 2.9 | |
13 days ago | 6 months ago | |
Python | Python | |
Apache License 2.0 | 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.
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
finnhub-python
-
#N/A in GoogleFinance Field
Click on Edit Script Properties ==> Add Script Property. Set the property name to: FINNHUB_API_KEY Set the value to: 'YOUR FINNHUB API KEY' Get your API key at: https://finnhub.io/
-
What are the most common stock price APIs? (Front end and back end)
Referenced the code in here: https://github.com/Finnhub-Stock-API/finnhub-python
- finnhub-python: NEW Data - star count:351.0
- finnhub-python: NEW Data - star count:339.0
What are some alternatives?
pandas-datareader - Extract data from a wide range of Internet sources into a pandas DataFrame.
Alpaca-API - The Alpaca API is a developer interface for trading operations and market data reception through the Alpaca platform.
investpy - Financial Data Extraction from Investing.com with Python
alpha_vantage - A python wrapper for Alpha Vantage API for financial data.
yahoofinance-api - Java Client API for Yahoo Finance
pstock - Async yahoo-finance python api with pydantic models.
akshare - AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库 [Moved to: https://github.com/akfamily/akshare]
mplfinance - Financial Markets Data Visualization using Matplotlib
cachefinance - A custom function and trigger to supplement GOOGLEFINANCE so data is always available and unsupported stocks can get price/name/yield data. As you can guess from the name, data is cached so when '#N/A' appears it does not mess up your asset history logging/graphing.
finviz - Unofficial API for finviz.com
ark-invest-api - 📈 API for tracking holdings and trades of ARK Invest funds