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
Installation: pip install sdepy
Quick Guide (as notebook)
Documentation (as pdf)
Metadata
Release files for sdepy 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sdepy-1.2.0.tar.gz | 99.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sdepy-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 204.6 kB
Release files / sdepy-1.2.0.tar.gz
| Download URL | sdepy-1.2.0.tar.gz |
|---|---|
| Size | 99.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d2454874f5044bca6de7deaec03ae341564a5403295d00c4cbf770e42042198
|
|
BLAKE2b-256 checksum How to use checksums |
f5cbb741972b5d1680a296f29e70a8850725750812d8930edd7185182633f56e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.5
|
Release files / sdepy-1.2.0-py3-none-any.whl
| Download URL | sdepy-1.2.0-py3-none-any.whl |
|---|---|
| Size | 105.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba12f15d685b626dc60ebdcc49ed1d1248d067e8082aa46e56ae4989fce1fb70
|
|
BLAKE2b-256 checksum How to use checksums |
e2986c9fad984a89520293d916b6e21d24037e42fad213b16b8c230f850928af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.5
|