Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
mini-yahoo-finance
Download and store historical stock data to a Pandas dataframe using the Yahoo! Finance API.
Readme
A minimal library for downloading stock data from Yahoo! Finance into a Pandas DataFrame.
Since I am using this functionality for some time now, I thought I might as well write up this code nicely into a library and make it available.
from mini_yahoo_finance import get_stock_df
df = get_stock_df('ADS.DE',
'01-01-2018',
end_date='31-01-2018',
interval='1d',
max_retries=3)
Accepted values for interval
are:
1d
(default)1wk
1mo
If no end_date
is provided, the current date will be used.
git clone https://github.com/lucaionescu/mini-yahoo-finance-api.git
cd mini-yahoo-finance-api/
pip install .
Suggestions or problems? Don't hesitate to contact me or open a pull request!
FAQs
Download and store historical stock data to a Pandas dataframe using the Yahoo! Finance API.
We found that mini-yahoo-finance demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.