1Metadata-Version: 1.1 2Name: ystockquote 3Version: 0.2.5 4Summary: retrieve stock quote data from Yahoo Finance 5Home-page: https://github.com/cgoldberg/ystockquote 6Author: Corey Goldberg 7Author-email: cgoldberg _at_ gmail.com 8License: GNU LGPLv2+ 9Download-URL: http://pypi.python.org/pypi/ystockquote 10Description: 11 ystockquote 12 =========== 13 14 **Python module - fetch stock quote data from Yahoo Finance** 15 16 .. image:: https://travis-ci.org/cgoldberg/ystockquote.svg?branch=master 17 :target: https://travis-ci.org/cgoldberg/ystockquote 18 19 ---- 20 21 * Created by: Corey Goldberg (2007,2008,2013, 2016) 22 * License: GNU LGPLv2+ 23 * `Dev Home <https://github.com/cgoldberg/ystockquote>`_ 24 * `PyPI <https://pypi.python.org/pypi/ystockquote>`_ 25 26 ---- 27 28 ~~~~~~~~~~~~ 29 Requirements 30 ~~~~~~~~~~~~ 31 32 Python 2.7 or Python 3.3+ 33 34 ~~~~~~~ 35 Install 36 ~~~~~~~ 37 38 `ytockquote` can be installed from `PyPI <https://pypi.python.org/pypi/ystockquote>`_ with `pip <http://www.pip-installer.org/>`_:: 39 40 $ pip install ystockquote 41 42 You can also clone the development repo to install (requires `git <http://git-scm.com/>`_):: 43 44 $ git clone git://github.com/cgoldberg/ystockquote.git 45 $ cd ystockquote 46 $ python setup.py install 47 48 To run unit tests:: 49 50 $ tox 51 52 ~~~~~~~~~~~~~ 53 Example Usage 54 ~~~~~~~~~~~~~ 55 56 .. code:: python 57 58 >>> import ystockquote 59 >>> print(ystockquote.get_price_book('GOOGL')) 60 '51.18' 61 >>> print(ystockquote.get_bid_realtime('GOOGL')) 62 '904.77' 63 >>> 64 65 .. code:: python 66 67 >>> import ystockquote 68 >>> from pprint import pprint 69 >>> pprint(ystockquote.get_historical_prices('GOOGL', '2013-01-03', '2013-01-08')) 70 {'2013-01-03': {'Adj Close': '723.67', 71 'Close': '723.67', 72 'High': '731.93', 73 'Low': '720.72', 74 'Open': '724.93', 75 'Volume': '2318200'}, 76 '2013-01-04': {'Adj Close': '737.97', 77 'Close': '737.97', 78 'High': '741.47', 79 'Low': '727.68', 80 'Open': '729.34', 81 'Volume': '2763500'}, 82 '2013-01-07': {'Adj Close': '734.75', 83 'Close': '734.75', 84 'High': '739.38', 85 'Low': '730.58', 86 'Open': '735.45', 87 'Volume': '1655700'}, 88 '2013-01-08': {'Adj Close': '733.30', 89 'Close': '733.30', 90 'High': '736.30', 91 'Low': '724.43', 92 'Open': '735.54', 93 'Volume': '1676100'}} 94 >>> 95 96Keywords: stocks,stockmarket,market,finance,yahoo,quotes 97Platform: UNKNOWN 98Classifier: Development Status :: 4 - Beta 99Classifier: Intended Audience :: Developers 100Classifier: Intended Audience :: Financial and Insurance Industry 101Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2) 102Classifier: Topic :: Software Development :: Libraries :: Python Modules 103Classifier: Topic :: Office/Business :: Financial :: Investment 104Classifier: Operating System :: OS Independent 105Classifier: Programming Language :: Python :: 2 106Classifier: Programming Language :: Python :: 2.7 107Classifier: Programming Language :: Python :: 3 108Classifier: Programming Language :: Python :: 3.2 109Classifier: Programming Language :: Python :: 3.3 110Classifier: Programming Language :: Python :: 3.4 111Classifier: Programming Language :: Python :: 3.5 112