options-pricing-engine-rs

(★ 14)

Low-latency options pricing engine in Rust. BSM, Black-76, Heston, Bates (jumps), Local Vol (Dupire), Monte Carlo (Euler/Andersen QE). Adaptive Gauss-Kronrod CF pricers, full analytic Greeks, forward-mode AD (incl. jump sensitivities), Halley IV solver, LM/DE global calibration, no-arbitrage repair, Rayon parallelism. CI + clippy, 0 warnings.

File Explorer

  • .gitignore
  • Cargo.lock
  • Cargo.toml
  • LICENSE
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

batch

View Details ▼

Execute commands at a later time when the system load levels permit.
Results will be sent to the user's mail.
See also: `at`, `atq`, `atrm`, `mail`.

batch

Execute commands from `stdin` (press `<Ctrl d>` when done):

systemctl start atd

Start the `atd` daemon:

echo "{{./make_db_backup.sh}}" | batch

Execute a command from `stdin`:

🔍

cargo build

View Details ▼

Compile a local package and all of its dependencies.

cargo {{[b|build]}}

Build the package or packages defined by the `Cargo.toml` manifest file in the local path:

cargo {{[b|build]}} {{[-r|--release]}}

Build artifacts in release mode, with optimizations:

cargo {{[b|build]}} --locked

Require that `Cargo.lock` is up to date:

🔍

cargo clippy

View Details ▼

A collection of lints to catch common mistakes and improve your Rust code.

cargo clippy

Run checks over the code in the current directory:

cargo clippy --locked

Require that `Cargo.lock` is up to date:

cargo clippy --workspace

Run checks on all packages in the workspace:

🔍

cargo run

View Details ▼

Run the current Cargo package.
Note: The working directory of the executed binary will be set to the current working directory.

cargo {{[r|run]}}

Run the default binary target:

cargo {{[r|run]}} --bin {{name}}

Run the specified binary:

cargo {{[r|run]}} --example {{name}}

Run the specified example:

🔍

cargo test

View Details ▼

Execute the unit and integration tests of a Rust package.

cargo {{[t|test]}} {{test_name}}

Only run tests containing a specific string in their names:

cargo {{[t|test]}} -- --test-threads {{count}}

Set the number of simultaneous running test cases:

cargo {{[t|test]}} {{[-r|--release]}}

Test artifacts in release mode, with optimizations:

# Project Badges

// repository documentation