Documentation

FerroRisk

A pure-Rust options-analytics crate for pricing, implied volatility, full first- and second-order Greeks, volatility-surface calibration, live chain analytics, scenario attribution, and volatility & microstructure analytics — built so every consumer gets the same numerical answer on one shared evaluation path.

What it is

FerroRisk turns typed market inputs into pricing, Greeks, calibrated surfaces, and portfolio risk. Models are dispatched explicitly by name, unit conventions are stated at the API boundary, and analytics are composed over ordered, deterministic containers — never hidden mutable state.

Four pillars

Start here

  • Getting started — add the crate and price your first contract.
  • Conventions — the unit contracts you need before reading any other page.
  • Pricing models — the seven models and when to reach for each.
  • The use-case guides — each one takes a workflow from typed input to typed output in a short, copy-pasteable snippet.
  • The API reference — the complete rustdoc for every public type, function, and trait.