Monday, July 03, 2006

Templates and defaults

There should be the ability to load a template of default values. For example to load the defaults for a USD swap, or to load the defaults for a AUD swap.

The best way I can think of doing this is to have the values in a form saved as a template. That is as a list of properties. On loading, you clean the values, load up the properties and set them.

In some cases, the choice needs to be a little more sophisticated. Take a AUD swap. It is quarterly if the swap is less than or equal to three years maturity at inception. Over three years it becomes semi annual.

Here what happens is if a property is changed, say the currency, then the default properties are loaded and in some way overwrite the existing values. Perhaps the same could be true for the maturity?

0 Comments:

Post a Comment

<< Home