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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sdevpy-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e02604c950077314d5b9ab733da3c135bd4de0e7fc89ea7773a8a2ce29531431
MD5 a1fa699a61499d71a6521d1f0cdfef75
BLAKE2b-256 aa172d32c77d669114a5acd5994925b20481cc66f0546261860308c3a9fa3287

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdevpy-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1762942323c3dfd65ded9e4e40ab142b3883f50a88fa3f4e09cc3e22e367255
MD5 b2c668cfdf559a7d2a35e607e237ee51
BLAKE2b-256 11023cd75996c63e1ae2aa1e02d44fdaefaa6106fbb9690df74707575c2d233b

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