ABSTRACT

To complete Exercise 9.3.1 to price a PutOption in the last chapter you should have written a function that was simply a copy of the code for a CallOption except that the type of the option has changed. This violates the “Once and Only Once” principle (see Section 3.1).