Re: Swap Fixed Leg

Posted by Ferdinando M. Ametrano-3 on
URL: http://quantlib.414.s1.nabble.com/Swap-Fixed-Leg-tp5967p5968.html

simone pilozzi <[hidden email]> wrote:
> I am trying to get the bpv of a swap fixed leg. I am using this syntax:
>
> fixedleg = vanillaswap.fixedLeg();
>
> dv01 =CashFlows::basisPointValue(fixedleg,yield,fixed_dc, Continuous,
>                 fixed_frequency,true,settlement_date);
> In doing like this, the final notional repayment will not be included in the
> bpv isn' it ? If this is the case how can I include this ?

it's much more effective to just obtain the result using

vanillaswap.fixedLegBPS()

everything relevant will be included...

ciao -- Nando

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users