- @avhz: More Greeks for BSM model: theta, rho, phi, zeta, strike-delta, strike-gamma.
- @avhz: More Greeks for BSM model: vega, vomma, ultima, vega bleed (adding more soon).
- @avhz: Greeks for BSM model: delta, vanna, charm, lambda, gamma, zomma, speed, colour (adding more soon).
- @avhz: Clean up year fraction computation for some options.
- Generalised Black-Scholes-Merton option pricer by @avhz.
- Bachelier and Modified Bachelier option pricers by @avhz.
- Added
Result
wrapping forstatistics
module.
- Re-licensing from GPL3 to dual Apache2/MIT licenses.
plotting
mod deprecated,plot_vector
is now a macro.Statistic
trait for computing statistics onVec<f64>
objects.- Remove
utilities
module (macros and plotting are in root module now).
Cashflow
s can now be added, subtracted, multiplied, and divided.Leg
s are now available, which are collections ofCashflow
s.
- 150+ currencies added (definitions according to ISO 4217).
- Basic arithmetic operations (addition, subtraction, multiplication, division) on
Money
objects. - Fractional Brownian Motion generator.
- Compute returns (simple, arithmetic, absolute) on Yahoo! Finance timeseries downloaded into Polars
DataFrame
s.
- Moved
options
andbonds
modules to the parent moduleinstruments
. - Moved
cashflows
,quotes
andcurrencies
modules to the parent modulemoney
.
- Updated regression to use QR or SVD decomposition.
- Simple linear regression using
nalgebra
.
- Gradient descent optimizer for functions
$f: \mathbb{R}^n \rightarrow \mathbb{R}$ .
- Additional stochastic process generators
- Ho-Lee model
- Hull-White model
- Black-Derman-Toy model
- Download time series data from Yahoo! Finance.
- Read (write) from (to)
.csv
,.json
, and.parquet
files, using PolarsDataFrames
.
- Arithmetic Brownian Motion generator.
- Gamma, exponential, and chi-squared distributions.
- Forward start option pricer (Rubinstein 1990 formula).
- Gap option and cash-or-nothing option pricers (currently adding more binary options).
- Asian option pricer (closed-form solution for continuous geometric average).
- Heston Model option pricer (uses the tanh-sinh quadrature numerical integrator).
- Tanh-sinh (double exponential) quadrature for evaluating integrals.
- Plus other basic numerical integrators (midpoint, trapezoid, Simpson's 3/8).
- Characteristic functions and density functions for common distributions:
- Gaussian, Bernoulli, Binomial, Poisson, Uniform, Chi-Squared, Gamma, and Exponential.