semvec/pypi-packages huggingface dataset:
yahoo_ff 1.1.5
Quick module to scrape yahoo financial data for stocks.
License: MIT

yahoo\_ff
=========

Package to obtain financial fundamental data from yahoo.com/finance
webiste. Returns the balance sheet, income statement, cashflow, key
statistics, price and other infos.

Requirements
------------

.. code:: bash

    $ pip install -r requirements.txt

Installation
------------

.. code:: bash

    $ pip install yahoo_ff

Using
-----

A single stock
~~~~~~~~~~~~~~

.. code:: python

    from yahoo_ff.yahoo_ff import yahoo_ff
    aapl = yahoo_ff('aapl')

will create an object from which several Pandas DataFrames of interest
can be extracted

::

    quarterlySECreports = aapl.sec_quarter
    annualSECreports = aapl.sec_annual
    keyStatsOfTheDay = aapl.stats
    infoAboutCompany = aapl.info
    priceOfTheDay = aapl.price

this is an example for apple's last 3 years of financial data (70 rows)
|image0|

.. |image0| image:: https://github.com/alexandresobolevski/yahoo_ff/blob/master/screenshot.png