Yahoo Quote Downloader
Project description
yahoo_quote_download
Introduction
This project is for downloading Yahoo financial EOD (End-of-Day) data of stock and market indexes.
Background
Yahoo has provided the EOD financial data service for a long time and it has been well-used. However, starting on May 2017, Yahoo financial has terminated that service without warning. This is confirmed by a Yahoo employee in forum posts.
However, it is later found that despite that the service has been terminated, the Yahoo financial EOD data is still available, though with some authentication steps added and some changes in format. The technical details are described in a separate document.
This project provides a way to continue obtaining the same data.
Installation
This is a Python project. So Python should be installed first. This project works with either Python2 or Python3.
To install this project On Windows / Linux, you may simply do
pip install yahoo_quote_download
Data Download
The main entry point is a commandline application. To download EOD data for a ticker, please try
yqdownload [-t ticker] [-s startdate] [-e enddate] [-f datafile]
where
- ticker - the ticker to quote, e.g., MSFT (Microsoft) or ^DJI (Dow Jones Industrial index). Please check Yahoo financial webpage for the tickers they use.
- startdate/enddate - the starting and ending date of the download. It is in the format of YYYY-MM-DD.
- datafile - the file where the downloaded data is saved to. If the file exists, the existing content will be overwritten. As usual, you may use -h or --help options to see all the supported options.
Note: This sample commandline application is provided for illustration purposes. Please do not overuse or abuse the data provided by Yahoo. Losing that would be a lost to all of us. I will put together an incremental downloader when I have more time.
License
This code in this project is available through "Simplified BSD License".
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for yahoo_quote_download-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b528b290de3299ff77e4f31afa858e0c08139543cf38b35cada4fd0f8e736c8 |
|
MD5 | 1c954626b3783782bd0977d1854ceeb2 |
|
BLAKE2b-256 | 84ad9274ba589653b0a0204bd411613ea5e0d64d164d88edca8652f97c0ac1f9 |
Hashes for yahoo_quote_download-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c7d5fe1ebbb20d8c145933e9f104d4210d22b76a6c901b62dc2daec0d33701 |
|
MD5 | 34a6158b26a6b586dd715c547fe3c9aa |
|
BLAKE2b-256 | 9da28bef5e03182c23bb028f04f4e27706e5aa084fc43c5d13e47ea06bacf8c7 |