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.

At this stage, the package is in development and is not yet ready for production use, with the API subject to change. We welcome any feedback, suggestions, and contributions.

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

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

Installation

pip install --upgrade frm

Complete with examples

  • Clewlow-Strickland 1-factor simulation
  • Heston parameter calibration to European FX option volatility smile
  • Heston simulation
  • Hull White 1 factor simulation

Tests/examples in progress

  • Interest rate swaps pricing
  • Interest rate curve bootstrapping
  • Caplet/floorlet term structure bootstrapper (smiles fit to SABR) & caplet/floorlet pricing

In development / pipeline

  • Swaption term structure bootstrapper (smiles fit to SABR)
  • CDS Bootstrapper

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.29.tar.gz (718.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frm-0.0.29-py3-none-any.whl (745.9 kB view details)

Uploaded Python 3

File details

Details for the file frm-0.0.29.tar.gz.

File metadata

  • Download URL: frm-0.0.29.tar.gz
  • Upload date:
  • Size: 718.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for frm-0.0.29.tar.gz
Algorithm Hash digest
SHA256 42db4d2eae77a3fbb690edda5f79e65b7de3ba8b5470995a672133a5c4cc3b9c
MD5 5cbc09f03db736545d7bf2fd9432d6be
BLAKE2b-256 b4bb64f5fc408a5de4b57c7c71f910d18f0d436b7c93695809f67657b26b2116

See more details on using hashes here.

File details

Details for the file frm-0.0.29-py3-none-any.whl.

File metadata

  • Download URL: frm-0.0.29-py3-none-any.whl
  • Upload date:
  • Size: 745.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for frm-0.0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 31640bf4217915e0a938dc3e528bb92712e8e5ff61aa33c0c674c1f694ccbec5
MD5 5178292c59cf577b3839204955ee93d1
BLAKE2b-256 9f36039c97d08840470c11b229e92d7c64165d7974cd0b5ea9a907bac725ea99

See more details on using hashes here.

Supported by

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