On Mon, 2009-06-29 at 15:38 +0200, Mattia Maetini wrote:
> I need to evaluate the forward Euribor 3 month and Euribor 6 month use
> the yield curve: I have see that in the plug-in for Excel there is the
> Piecewise Yield Curve that do that, and I have see the code in C++ for
> evaluate this curve with the EONIA swap too.
> Can anyone help me to do this in C#.net?
Once you have a yield curve, you'll have to do something like
YieldTermStructure yield_curve = new PiecewiseYieldCurve(...);
YieldTermStructureHandle h = new YieldTermStructureHandle(yield_curve);
Euribor euribor3m = new Euribor(3, TimeUnit.Months, h);
Date fixingDate = ...;
double r = euribor3m.fixing(fixingDate);
Luigi
--
It is better to know some of the questions than all of the answers.
-- James Thurber
------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users