Note
Go to the end to download the full example code.
Geometric Brownian Motion#
![Geometric Brownian Motion $X(\mu=1.0, \sigma=0.5)$, Simulated Paths $X_t, t \in [t_0, T]$, $X_T$](../_images/sphx_glr_plot_gbm_001.png)
# Author: Dialid Santiago <d.santiago@outlook.com>
# License: MIT
# Description: Advent Calendar 2025 - Plot Geometric Brownian Motion
from aleatory.processes import GBM
from aleatory.styles import qp_style
qp_style() # Use quant-pastel-style
p = GBM()
fig = p.draw(n=100, N=250, figsize=(12, 7), dpi=200, colormap='viridis')
fig.show()
Total running time of the script: (0 minutes 0.614 seconds)