Skip to main content

Python package for Machine Learning in Finance

Project description

SDev.Python

Python repository for various tools and projects in Machine Learning for Quantitative Finance. In the current release, we mostly work on stochastic volatility surfaces and their calibration through Machine Learning methods.

See other work on our main website SDev-Finance.

Stochastic volatility calibration

In this project we intend to use Neural Networks to improve the calibration speed for stochastic volatility models. For now we consider only the direct map, i.e. the calculation from model parameters to implied volatilities.

We first generate datasets of parameters (inputs) and vanilla option prices (outputs) and then train the network to replicate the prices. In this manner, the machine learning model is used as a pricing function to replace costly closed-forms or PDE/MC price calculations.

Our models can be saved to files for later usage, and can also be re-trained from a saved state. We cover (Hagan) SABR, Free-Boundary SABR, ZABR and Heston models.

Other Tools

The package contains various other tools including Black-Scholes/Bachelier formulas, Monte-Carlo simulation of vanilla prices and other utilities.

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

sdevpy-0.1.3.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

sdevpy-0.1.3-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

File details

Details for the file sdevpy-0.1.3.tar.gz.

File metadata

  • Download URL: sdevpy-0.1.3.tar.gz
  • Upload date:
  • Size: 44.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for sdevpy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ae5d61991bdfddc24a613b8e5ad86ba80a39b7c6ef94f49a792c44d81615a480
MD5 ca817b5684ac8e55cbce74b7ab787519
BLAKE2b-256 5e1b786f3a69b088867a26b91d3eee2366f90fbdd3af7f7f19d7238caba33c31

See more details on using hashes here.

File details

Details for the file sdevpy-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: sdevpy-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 71.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for sdevpy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 181f62c6d4541259789547080acbcd61447bdb7890e79b930c4185f618c14451
MD5 6b098769652e26071fdca3a9a7ff2672
BLAKE2b-256 b48297743acc766a123a80bde7d09565e91675c8cb9e51adf0ae238e557df30c

See more details on using hashes here.

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