Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A-R-O/pyfin

Open more actions menu
 
 

Repository files navigation

pyfin


Basic options pricing in Python

“Oh cool. Probably a little easier than spinning up the QuantLib stack.” — Wes McKinney, creator of 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.

About

Basic options pricing in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 72.8%
  • Makefile 15.3%
  • Shell 11.9%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.