{ "info": { "author": "Serkan Dizbay", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "# Yahoo Finance Historical Data Downloader\n\nDownload historical price, dividends and stock splits data from yahoo finance in python.\n\n- Current Version: v_0.2.1\n- Version Released: 2019-08-17\n- Report any bugs by opening an issue here: https://github.com/sdiz/yahoo_finance_hdd/issues\n\n## Installation\n\n - This module runs on python >= 3.3. It might run on other version, but has not been tested.\n - Dependencies: numpy, pandas, requests, pandas_market_calendars.\n \n1. Installation using pip:\n ```bash\n $ pip install yahoo_finance_hdd\n ```\n1. Installation using github:\n ```bash\n $ git clone https://github.com/sdiz/yahoo_finance_hdd.git\n $ cd yahoo_finance_hdd\n $ python setup.py install\n ```\n## Usage\n\n- The data from all methods is returned as a pandas dataframe.\n- Create a parameters object to define all necessary input parameters\n - start : the start date of the data series ('yyyy-mm-dd').\n - end : the end date of the data series ('yyyy-mm-dd').\n - tickers : single tickers can be passed as a string. Multiple tickers\n have to be passed as a list e.g ['IBM', 'AAPL'].\n - interval : specify the frequency of the data series.\n - 'd' = daily\n - 'w' = weekly\n - 'm' = monthly\n - exchange : the exchange to obtain the dates for the data series (default NYSE)\n - available exchanges are: ['BMF', 'CFE', 'CME', 'CBOT', 'COMEX', 'NYMEX', 'EUREX', 'ICE', 'ICEUS', 'NYFE', 'JPX', 'LSE', 'NYSE', 'stock', 'NASDAQ', 'BATS', 'OSE', 'SIX', 'TSX', 'TSXV', 'SSE', 'HKEX']\n - columns : a list of strings specifying the data columns to be returned.\n - ['Open', 'High', 'Low', 'Close', 'Adj Close', 'Volume']\n- Available methods\n - get_history(params) : download historical financial price data from yahoo finance.\n - get_dividends(params) : download historical dividend data from yahoo finance.\n - get_splits(params) : download historical data for stock splits from yahoo finance.\n\n\n## Examples\n\n```python\nfrom yahoo_finance_hdd import YahooFinance, Parameters\n\n# create parameter object\nparams = Parameters(\n start = '2010-12-01',\n end = '2019-08-20',\n tickers = ['AAPL', 'VZ', 'JPM'],\n interval = 'w',\n exchange = 'NYSE',\n columns = ['Open', 'Close']\n )\n\n# e.g change interval to daily\nparams.interval = 'd'\n\n# create new yahoo finance instance\nyf = YahooFinance()\n\n# download historical financial price data\nprice_df = yf.get_history(params)\n\n# download historical dividends data\ndividends_df = yf.get_dividends(params)\n\n# download historical stock splits data\nsplits_df = yf.get_splits(params)\n```\n### Returned Data\n![alt text](https://github.com/sdiz/yahoo_finance_hdd/blob/master/return_example.JPG \"returned data example\")\n\n## Authors\n\n- **Serkan Dizbay** - https://github.com/sdiz\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/sdiz/yahoo_finance_hdd/archive/v_0.2.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sdiz/yahoo_finance_hdd.git", "keywords": "financial data,yahoo finance", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "yahoo-finance-hdd", "package_url": "https://pypi.org/project/yahoo-finance-hdd/", "platform": "", "project_url": "https://pypi.org/project/yahoo-finance-hdd/", "project_urls": { "Download": "https://github.com/sdiz/yahoo_finance_hdd/archive/v_0.2.2.tar.gz", "Homepage": "https://github.com/sdiz/yahoo_finance_hdd.git" }, "release_url": "https://pypi.org/project/yahoo-finance-hdd/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Download historical financial data from yahoo finance", "version": "0.2.2" }, "last_serial": 5711388, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "bcce0607ef459797a50923ff6fe85e96", "sha256": "2a788d87e1664132dc9ea2ee90fa5d1748381ba8cd7a846a3f3c2fc194b2a394" }, "downloads": -1, "filename": "yahoo_finance_hdd-0.2.tar.gz", "has_sig": false, "md5_digest": "bcce0607ef459797a50923ff6fe85e96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4601, "upload_time": "2019-08-17T08:40:26", "url": "https://files.pythonhosted.org/packages/36/57/58e47896cdd20538c30cf833434919229e608624c8aa8a388c821dd72e4f/yahoo_finance_hdd-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "a3521f07805b7e9bcfea8876b290360a", "sha256": "dfbc881cec7935ba9d3d938657a81a99d9e46a6fea32f597ef81c6d05d6bad05" }, "downloads": -1, "filename": "yahoo_finance_hdd-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a3521f07805b7e9bcfea8876b290360a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6043, "upload_time": "2019-08-17T15:15:29", "url": "https://files.pythonhosted.org/packages/e8/43/91d852198c56c1430a956fa5dcfc2d4ae6900a836faac51f65fa59b03368/yahoo_finance_hdd-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "96605d59c26d36dea29e7f3ed6190423", "sha256": "ac8068c9825c8fabe3011f3691420c52d62d02ebaef5c8cc0c3e2596202cec8c" }, "downloads": -1, "filename": "yahoo_finance_hdd-0.2.2.tar.gz", "has_sig": false, "md5_digest": "96605d59c26d36dea29e7f3ed6190423", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6053, "upload_time": "2019-08-21T19:39:12", "url": "https://files.pythonhosted.org/packages/0e/44/ca801fb2b73f78d597ee6f333faa28b3f75d152f6d184c44bf21a2bf6571/yahoo_finance_hdd-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "96605d59c26d36dea29e7f3ed6190423", "sha256": "ac8068c9825c8fabe3011f3691420c52d62d02ebaef5c8cc0c3e2596202cec8c" }, "downloads": -1, "filename": "yahoo_finance_hdd-0.2.2.tar.gz", "has_sig": false, "md5_digest": "96605d59c26d36dea29e7f3ed6190423", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6053, "upload_time": "2019-08-21T19:39:12", "url": "https://files.pythonhosted.org/packages/0e/44/ca801fb2b73f78d597ee6f333faa28b3f75d152f6d184c44bf21a2bf6571/yahoo_finance_hdd-0.2.2.tar.gz" } ] }