#pricing #options #option-pricing

black76

Black76 option pricing model calculator

16 releases (6 breaking)

0.24.2 Jul 28, 2023
0.24.0 Apr 2, 2023
0.23.1 Mar 12, 2023

#77 in Finance

50 downloads per month

MIT license

1MB
1.5K SLoC

C++ 766 SLoC // 0.4% comments Rust 506 SLoC // 0.1% comments

Contains (ELF lib, 45KB) lib/lets_be_rational.so

black76

This library provides an simple, lightweight, and efficient (though not heavily optimized) implementation of the Black76 model for pricing European options.

Includes all first, second, and third order Greeks.

Implements both:

Usage

View the docs for usage and examples.

Other packages available:
Python: Pypi
WASM: npm

Dependencies

~5MB
~99K SLoC