There are a few examples of variance swaps in test-suite/varianceswap.cpp.
Volatility swaps are not implemented.
Luigi
On Wed, Aug 22, 2012 at 6:42 AM, aimz <
[hidden email]> wrote:
>
> Does anyone have an example code for calculating VarianceSwap and/or
> VolatilitySwaps using quantlib? If so much appreciate sending it to me.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users