In this commit we:
1- implement a system of traits to provide the data needed by the assets
2- update Black-Scholes to leverage these traits
3- update the Pricing class to allow setting a pricing model for each asset type
4- create a NullModel to be used when no pricing model is specified
To verify that everything is working correctly we modified accordingly the sample program main.cpp.
Note to self: this should have been split in separate commits.
In this commit we: 1- implement a system of traits to provide the data needed by the assets 2- update Black-Scholes to leverage these traits 3- update the Pricing class to allow setting a pricing model for each asset type 4- create a NullModel to be used when no pricing model is specified
To verify that everything is working correctly we modified accordingly the sample program main.cpp.
Note to self: this should have been split in separate commits.