-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Hello,
I have tweaked americanOptionEngine to handle the new FD schemes described here for European options. (See EuropeanOptionTest::testPDESchemes()) It seems to work fine, although some unit tests would be good.
I'm also interested to add FD schemes to europeanOptionEngine, for comparison purposes mostly, but I haven't yet.
Would you be interested in a PR? If so, I need to clean up a few (small) things before I push changes to my repo, and possibly discuss the interface for the EuropeanOption function. Adding an engine parameter as the last argument would likely make the most sense, to not break compatibility. But, this would be inconsistent with AmericanOption, where engine comes before the discrete dividend vectors.
Thanks as always for your work on this, and let me know your thoughts!