#setting #derivative #monte-carlo #european #price #stock #vanilla

derivative_pricer

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

2 releases

0.1.1 Jun 23, 2024
0.1.0 Jun 18, 2024

#721 in Algorithms

MIT license

46KB
760 lines

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.
  • Formulas for the greeks.

Dependencies

~1MB
~21K SLoC