semvec/pypi-packages huggingface dataset:
realtime-stock 1.0.0
A python package to gather realtime stock quotes from Yahoo Finance. The package enables you to handle single stocks or portfolios, optimizing the nunber of requests necessary to gather quotes for a large number of stocks.
License: MIT license
Keywords: rtstock

===============================
Realtime Stock
===============================


.. image:: https://badge.fury.io/py/realtime-stock.svg
        :target: https://pypi.python.org/pypi/realtime-stock

.. image:: https://img.shields.io/travis/condereis/realtime-stock.svg
        :target: https://travis-ci.org/condereis/realtime-stock

.. image:: https://readthedocs.org/projects/realtime-stock/badge/?version=latest
        :target: https://realtime-stock.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://pyup.io/repos/github/condereis/realtime-stock/shield.svg
     :target: https://pyup.io/repos/github/condereis/realtime-stock/
     :alt: Updates


Realtime Stock is a Python package to gather realtime stock quotes from Yahoo Finance. The package enables you to handle single stocks or portfolios, optimizing the nunber of requests necessary to gather quotes for a large number of stocks.


* Documentation: https://realtime-stock.readthedocs.io.
* Free software: MIT license


Features
--------

**Stock class**

* Method to get stock's latest price.
* Method to get all stock's information provided by Yahoo Finance.
* Method get stock's daily historical information.
* Method download stock's historical data from Yahoo Finance.

**Utility functions**

* Function to request recent quotes about a list of tickers.
* Function to get stock's daily historical information.
* Function to download historical data about a list of tickers.


Installation
------------
To install Realtime Stock, run this command in your terminal:

.. code:: bash

    $ pip install realtime-stock

Check `here <https://realtime-stock.readthedocs.io/en/latest/installation.html>`_  for further information on installation.


Basic Usage
-----------

For single stocks:

.. code:: python

	>>> from rtstock.stock import Stock
	>>> stock = Stock('AAPL')
	>>> stock.get_latest_price()
	{
	    'LastTradePriceOnly': '95.89',
	    'LastTradeTime': '4:00pm'
	}


Credits
---------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage



=======
History
=======

1.0.0 (2016-07-27)
------------------

* First release on PyPI.
* Stock class implemented.
* Function to request recent quotes about a list of tickers.
* Function to get stock's daily historical information.
* Function to download historical data about a list of tickers..