Skip to main content

A python package for quantitative finance and derivative pricing

Project description

frm

A python package for quantitative finance and derivative pricing. Emphasis on documentation, references and detailed examples.

This package will have a similar scope to Quantlib. The rational for this package is:

  • QuantLib-Python is fiddly and due to SWIG it's hard to drill down into errors.
  • QuantLib C++ is in C++ which is unproductive for many use cases and is harder to read than native python (which is nearly pseudocode)

Complete

Interest rate swaps

  • pricing
  • schedule construction (including detailed stub logic)
  • iterative single currency bootstrapping
  • fixed rate / spread par solvers

Vanilla European FX options

  • pricing + greeks (under Garman-Kohlhagen)
  • volatility surface construction (smile construction via Heston or splines)

Pipeline

  • SABR volatility model
  • European interest rate swaption pricing
  • Heston-Local Volatility model (for pricing path dependent FX options)

At frmcalcs.com/app_frm/, some use cases are are hosted.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frm-0.0.1.tar.gz (26.1 MB view hashes)

Uploaded Source

Built Distribution

frm-0.0.1-py3-none-any.whl (645.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page