Expand description
Financial instrument types and modules (bonds, options, etc).
§Options
The following options and pricing methods are implemented:
Option | Analytic | Monte-Carlo | Finite Difference | Lattice | Greeks |
---|---|---|---|---|---|
Asian | ❌ | ✅ | ❌ | ❌ | ❌ |
Barrier | ❌ | ✅ | ❌ | ❌ | ❌ |
Basket | ❌ | ❌ | ❌ | ❌ | ❌ |
Binary | ❌ | ✅ | ❌ | ❌ | ❌ |
Chooser | ❌ | ❌ | ❌ | ❌ | ❌ |
Cliquet | ❌ | ❌ | ❌ | ❌ | ❌ |
Compound | ❌ | ❌ | ❌ | ❌ | ❌ |
Exchange | ❌ | ❌ | ❌ | ❌ | ❌ |
Forward Start | ❌ | ❌ | ❌ | ❌ | ❌ |
Log | ❌ | ✅ | ❌ | ❌ | ❌ |
Lookback | ❌ | ✅ | ❌ | ❌ | ❌ |
Power | ❌ | ✅ | ❌ | ❌ | ❌ |
Quanto | ❌ | ❌ | ❌ | ❌ | ❌ |
Spread | ❌ | ❌ | ❌ | ❌ | ❌ |
Supershare | ❌ | ✅ | ❌ | ❌ | ❌ |
Vanilla | ✅ | ✅ | ✅ | ✅ | ✅ |
-
Closed-form price solutions:
- Generalised Black-Scholes-Merton
- Bachelier and Modified Bachelier
- Heston Model
-
Lattice models:
- Binomial Tree (Cox-Ross-Rubinstein)
§Bonds
§FX
§Equities
§Commodities
Re-exports§
pub use instrument::*;
pub use options::*;
pub use fx::*;
pub use equities::*;
pub use ticker::*;
pub use payoff::*;
pub use analytic_option_pricer::*;
pub use monte_carlo_pricer::*;
Modules§
- Analytic option pricer. Analytic option pricing module.
- Bond pricing models.
- Equity instruments.
- FX instruments.
- Base trait for all instruments.
- Monte-Carlo pricer. Monte-Carlo pricer trait.
- Option pricers and sensitivity functions.
- Generic derivative payoff trait.
- Ticker symbol.
Macros§
- Macro to implement
MonteCarloPricer
for a given instrument type.