Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
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. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Andre,
unfortunately I can't give this much thought today, so I'm not sure that I see the larger picture here. Given your time constraints, I think you can go ahead as long as the other methods keep returning the same thing. Nando? Others? Later, Luigi |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Luigi wrote:
> unfortunately I can't give this much thought today, so I'm not > sure that I see the larger picture here. Given your time constraints, I > think you can go ahead as long as the other methods keep returning the > same thing. > >Nando? Others? it's OK for me. Andre, in the medium term I would suggest you to create your own library based on QuantLib, so that you can hack it as much as you like, and later decide what to merge into QuantLib and what to keep proprietary. This is the way I work, and I get the additional benefit of hiding my dirty stuff ;-) ciao -- Nando |
Free forum by Nabble | Disable Popup Ads | Edit this page |