Finite difference method - #167
Conversation
… one test for it. Methods don't differ much from CompFin code at the moment
… one test for it. Methods don't differ much from CompFin code at the moment
… values to existing models
…f using flat rates
|
Hi Iain |
|
Hi Iain |
|
Great work on adding the finite difference method for option pricing! Decoupling methods and handling matrix updates separately is a smart approach. The comparisons with C++ code and other models in Singapore GST provide a solid validation. Your efforts are appreciated, and the logical organization of the code is a plus. Looking forward to more contributions. |
This PR adds a finite difference method for option pricing.
Main differences are that I've tried to decouple some of the methods (in particular, updating the finite difference matrix and rolling backwards/forwards are now handled separately) and I didn't make my code object oriented