how to get discretely compounded zero rates
Posted by
jing lu on
URL: http://quantlib.414.s1.nabble.com/how-to-get-discretely-compounded-zero-rates-tp1090.html
Hello All,
I would like to know how to request monthly compounded zero rates from
a termstructure using the zeroRate member function. From example in
test-suites I see one can request continuously compounded zero rates
with termStructure_->zeroRate(testDate, rfdc,Continuous, NoFrequency);
However if I use termStructure_->zeroRate(testDate, rfdc,Compounded, Monthly);
the program crashes. Can anyone help to explain how to setup Compounding
and Frequency parameters for this method to get monthly compounded rate.
Thanks,
Jing
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users