Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opendoor-labs/pyfin

Basic options pricing in Python
https://github.com/opendoor-labs/pyfin

Last synced: 3 months ago
JSON representation

Basic options pricing in Python

Awesome Lists containing this project

README

        

# pyfin
-------

[](http://badge.fury.io/py/pyfin)
[](https://travis-ci.org/opendoor-labs/pyfin)
[](https://pypi.python.org/pypi/pyfin)

###### Basic options pricing in Python

“Oh cool. Probably a little easier than spinning up the QuantLib stack.” — [Wes McKinney](https://github.com/wesm), creator of [Pandas](https://github.com/pydata/pandas)

### Features
-------

* Option valuation w/ Black-Scholes, lattice (binomial tree), and Monte Carlo simulation models.
* Basic Greeks calculation (delta, theta, rho, vega, gamma) across each valuation model.
* Discrete dividends support in the lattice (binomial tree) and Monte Carlo simulation models.
* Early exercise (American options) support in Monte Carlo simulation through the Longstaff-Schwartz technique.
* Minimal dependencies, just Numpy & SciPy.
* Free software, released under the MIT license.