stochastic-abm

Crates.iostochastic-abm
lib.rsstochastic-abm
version0.1.0
sourcesrc
created_at2024-09-09 08:52:41.763064
updated_at2024-09-09 08:52:41.763064
descriptionA Rust library for simulating various stochastic processes, including Arithmetic Brownian Motion and more.
homepagehttps://github.com/nzengi/stochastic-abm
repositoryhttps://github.com/nzengi/stochastic-abm
max_upload_size
id1369027
size6,552
(nzengi)

documentation

https://docs.rs/stochastic-abm

README

Arithmetic Brownian Motion (ABM) in Rust

This Rust crate provides an implementation of the Arithmetic Brownian Motion (ABM) model, a simple stochastic process used to simulate the price movement of assets over time.

Overview

The Arithmetic Brownian Motion (ABM) is defined by the stochastic differential equation:

dS = μ * dt + σ * dW

Where:
- `S` is the asset price,
- `μ` is the drift (mean or trend),
- `σ` is the volatility (standard deviation of returns),
- `dW` is the Wiener process increment (Brownian motion),
- `dt` is the time increment.

ABM is commonly used in finance for modeling asset prices, though it has limitations such as not enforcing positivity of the asset price.
Commit count: 0

cargo fmt