« Return to Thread: IboxIndex in SwapRateHelper

Re: IboxIndex in SwapRateHelper

by Luigi Ballabio :: Rate this Message:

Reply to Author | View in Thread

On Tue, 2009-06-30 at 22:19 +0200, Mattia Maetini wrote:
> I can't understand what is the parameter IborIndex in the
> SwapRateHelper; i have search it in the example of swapevaluation.cpp
> but I can't understand what it means.

It's an instance of the floating index to use. For 6-months Euribor, it
would be an instance of the Euribor class. I'm not familiar with C#, but
from the examples, I guess it would be something like

IborIndex euribor6m = new Euribor(6, TimeUnit.Months);


Luigi


--

I've finally learned what `upward compatible' means. It means we
get to keep all our old mistakes.
-- Dennie van Tassel



------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
QuantLib-users@...
https://lists.sourceforge.net/lists/listinfo/quantlib-users

 « Return to Thread: IboxIndex in SwapRateHelper