Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

SdePy: Numerical Integration of Ito Stochastic Differential Equations

Project description

Documentation Status travis codecov

The SdePy package provides tools to state and numerically integrate Ito Stochastic Differential Equations (SDEs), including equations with time-dependent parameters, time-dependent correlations, and stochastic jumps, and to compute with, and extract statistics from, their realized paths.

Several preset processes are provided, including lognormal, Ornstein-Uhlenbeck, Hull-White n-factor, Heston, and jump-diffusion processes.

Computations are fully vectorized across paths, via NumPy and SciPy, making live sessions with 100000 paths reasonably fluent on single cpu hardware.


This package came out of practical need, so expect a flexible tool that gets real-life things done. On the other hand, not every part of it is clean and polished, so expect rough edges, and the occasional bug (please report!).

Developers are committed to the stability of the public API, here again out of practical need to safeguard dependencies.

Start here

Project details


Download files

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

Files for sdepy, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size sdepy-1.1.0-py3-none-any.whl (98.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sdepy-1.1.0.tar.gz (92.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page