Directory: /MODELS

> Select executable to begin analysis.

GM_MODEL
Microstructure

> Glosten-Milgrom

Sequential trade model. Demonstrates spread widening due to adverse selection from informed traders.

BAYESIAN_UPDATES SPREAD_DYNAMICS
AS_MODEL
Microstructure

> Avellaneda-Stoikov

High-frequency market making model. Optimizes inventory risk vs spread capture using stochastic control intensity.

INVENTORY_RISK INTENSITY
RARE_EVT
Probability

> Limit Theorems

Convergence of Binomial(n,p) to Poisson(λ) as n→∞. Visualizing the Law of Rare Events.

CONVERGENCE RISK_MODELING
GBM_SIM
Stochastic

> Brownian Motion

Continuous-time stochastic processes. Drift/Diffusion parameters. First passage time analysis.

MONTE_CARLO WIENER_PROCESS
OPT_STRAT
Strategy

> Option Strategies

Multi-leg option strategy builder. Payoff diagrams, P&L analysis, and combined Greeks visualization.

MULTI_LEG PAYOFF_DIAGRAM
BOND_PORT
Pricing

> Bond Portfolio

Duration & convexity analytics for bond portfolios. Compare real repricing vs linear and second-order approximations across yield shifts.

DURATION CONVEXITY
BS_PDE
Pricing

> Black-Scholes

Option pricing framework. Visualize Greek sensitivities (Δ, Γ, Θ, ν) to market parameters.

HEDGING PARTIAL_DIFF_EQ

System Architecture

// Powered by Rust
// Optimized for high-frequency simulation logic

[01] Type Safety

Static typing eliminates runtime errors in complex stochastic differential equations.

[02] Performance

Native code execution via Rust compiler.

[03] Concurrency

Async libraries handle concurrent simulation streams and websocket data feeds.