High level API for access to and analysis of financial data.
Branch: master
Clone or download
David Stephens
Latest commit e9cc66b Sep 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs DOC: Add docs Nov 22, 2015
pandas_finance BUG: Fix annual dividend for stocks that don't pay one Sep 8, 2018
.gitignore Initial API Nov 23, 2015
.travis.yml TST: Update travis.yml to new miniconda Sep 16, 2018
LICENSE.md First Commit Nov 22, 2015
MANIFEST.in CLN: Update manifest, setup.py Nov 22, 2015
README.rst DOC: Update README Dec 7, 2015
setup.cfg First Commit Nov 22, 2015
setup.py Add empyrical to requirements May 11, 2018
tox.ini First Commit Nov 22, 2015

README.rst

pandas-finance

High level API for access to and analysis of financial data.

https://travis-ci.org/davidastephens/pandas-finance.svg?branch=master https://coveralls.io/repos/davidastephens/pandas-finance/badge.svg?branch=master https://readthedocs.org/projects/pandas-finance/badge/?version=latest

Installation

Install via pip

$ pip install pandas-finance

Usage

from pandas_finance import Equity
aapl = Equity('AAPL')
aapl.annual_dividend
aapl.dividend_yield
aapl.price
aapl.options
aapl.hist_vol(30)
aapl.rolling_hist_vol(30)

Data is automatically cached for 1 hr using requests_cache.

See the pandas-finance documentation for more details.