Login  Register

Re: How to enhance QuantLibXL without breaking anything?

Posted by Eric Ehlers-2 on Sep 11, 2009; 9:01pm
URL: http://quantlib.414.s1.nabble.com/How-to-enhance-QuantLibXL-without-breaking-anything-tp12970p12971.html

Hi Piter,

I don't understand your question, can you elaborate?

>   * Change coupons from scalar to InterestRate object -
> it means that any current spreadsheet will fail because it is a new type
> for the field

You say "Change coupons *from scalar*", I don't understand.  In the  
latest version of QuantLibXL (0.9.7), for function qlFixedRateBond(),  
the argument "Coupons" is not a scalar, it is a vector of doubles.

Do you want a setup where

1) old spreadsheets call function qlFixedRateBond() and pass to  
argument Coupon a value of type vector<double>, and
2) new spreadsheets call the same function and pass to the same  
argument a value of type InterestRate?

If so, this could be accomplished using coercion:

     http://quantlib.org/quantlibxl/coercion.html

Regards,
Eric


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev