Skip to main content

A python package for quantitative finance and derivative pricing

Project description

frm

PyPI Codacy Badge

frm is an in-development python package for quantitative financial pricing and modelling. frm uses common 3rd party python packages for scientific computing (numpy, scipy, pandas, numba, matplotlib) and the holidays package.

This package will have a similar function set to Quantlib however we want to make it more accessible, documented, and productive though:

  1. The python (core + 3rd party libaries) implementation
  2. Academic and industry references (at specific lines of code) to support users own validation and testing
  3. Supporting excel/VBA models that validate/support the code
  4. Significant code examples

Installation / Upgrade

pip install --upgrade frm || pip install --upgrade frm

In progress

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
  • CDS Bootstrapper

Hosted examples

At https://frmcalcs.com, the following tools are are hosted:

  • FX forward valuations and exposure modelling for CVA/DVA
  • Vanilla FX option valuations

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.4.tar.gz (515.2 kB view hashes)

Uploaded Source

Built Distribution

frm-0.0.4-py3-none-any.whl (560.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