Login  Register

Re: Fixed periods in a swap

Posted by Henner Heck on Feb 01, 2011; 2:55pm
URL: http://quantlib.414.s1.nabble.com/Fixed-periods-in-a-swap-tp8845p8850.html



Yes, the boost::optional seems tricky.
I'll do as you suggested until it's solved.

Thank you,
Henner


Am 01.02.2011, 15:41 Uhr, schrieb Luigi Ballabio  
<[hidden email]>:

> On Tue, 2011-02-01 at 15:35 +0100, Henner Heck wrote:
>> Still, any idea on adding the parameter in SWIG?
>> >> In the Java classes i get from the SWIG interface files, the optional
>> >> parameter "paymentConvention"
>> >> is not available for QuantLib::VanillaSwap. Any chance of making it
>> >> available?
>
> I still have to figure out how to export boost::optional.
> In the meantime, you can add an overloaded constructor that takes all
> parameters including the paymentConvention (just duplicate the existing
> one in the %extend section, add the parameter, and use it to create the
> VanillaSwap being allocated.)
>
> Luigi
>
>


--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev