Closed alembcke closed 3 years ago
Made the requested changes, see unresolved comments above for further clarification.
Updated the test so that discount_rates
, dividend_rates
and expiries
are not scalars, to test batching. Tests ran successfully. Also, I squashed the commits.
Thank you Alex! This is now merged
Note to self to research this.
This pull requests adds the Bjerksund-Stensland 2002 option pricing model, which closes #5.
Tests are included which mirror the tables in the reference paper. Additional testing in both eager and deferred (graph) mode were conducted with visual inspection of the output of the code. All tests were successful.