Can't get it to run. Keep getting this error that the variable 'today' is missing. Is this a defined global variable in SP3? I have not updated from R14.
Useful piece of code. Helps build intuition for greeks. At the moment, it seems FX options specific. Update should perhaps make it applicable to generic options (just a change in the GUI from Foreign Interest Rate to "Carry" would make it applicable across asset class).