Re: IboxIndex in SwapRateHelper

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/IboxIndex-in-SwapRateHelper-tp7691p7692.html

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users