|
Hi,
I have a big need for a proper implementation of a compounded rate
termstructure. The proposal I have is as follows:
1) Given the current TermStructure, we need access methods for rates with a
supplied compounding frequency. I see these methods implemented in the
current TermStructure the same as the existing 'forward' methods with an
additional parameter specifying the frequency. An additional implementation
specific method is needed as well, something like 'compoundForwardImpl(Time,
int, bool extrapolate)'.
Additionally we need the following structures:
1) CompoundForwardRateStructure, leaving the implementation of
compoundForwardImpl() to the programmer. It should implement discountImpl()
using a default discountfactor-bootstrapping methodology, to implement this
it would need to store the compounding frequency of it's rates.
2) CompoundDiscountStructure, implementing compoundForwardImpl()
using a default reverse bootstrapping methodology on the supplied
compounding frequency.
2) Additionally it should be noted that a curve could be built up of rates
with mixed compounding frequencies, this could be solved by linking
different curves into one umbrella curve - this could be implemented in an
external structure (something like PiecewiseCompoundForward).
Please comment ASAP as I need to do this by YESTERDAY!
Thanx,
Andre
-------------------------------------------------------------------------
This e-mail is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged,
proprietary to the company and protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this e-mail is strictly prohibited. Opinions, conclusions and
other information in this message that do not relate to the official
business of our company shall be understood as neither given nor endorsed by
it.
|