#monte-carlo #pricing #derivative #formulas #setting #black #pricer

derivative_pricer

A library providing pricers for various options in a Black-Scholes setting

3 unstable releases

0.2.1 Sep 20, 2024
0.1.1 Jun 23, 2024
0.1.0 Jun 18, 2024

#721 in Algorithms

Download history 182/week @ 2024-06-20 12/week @ 2024-06-27 9/week @ 2024-07-04 24/week @ 2024-07-25 6/week @ 2024-08-01 15/week @ 2024-09-12 149/week @ 2024-09-19 15/week @ 2024-09-26 5/week @ 2024-10-03

184 downloads per month

MIT license

65KB
1K SLoC

Introduction

This library provides tools for pricing derivative secureties in a Black-Scholes setting.

Features

  • Black Scholes pricing formulas for european call and put options, digital call and put options, forward price of a stock, and zero coupon bonds.
  • Monte-Carlo pricer for vanilla options.
  • Formulas for the greeks.

lib.rs:

#Introduction

This library provides tools for pricing derivative secureties in a Black-Scholes setting.

Features

  • Black Scholes pricing formulas for european call and put options, digital call and put options, forward price of a stock, and zero coupon bonds.
  • Monte-Carlo pricer for vanilla options.
  • Monte-Carlo pricer for exotic options.
  • Formulas for the greeks.

Dependencies

~1MB
~21K SLoC