You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(17) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(23) |
| 2002 |
Jan
(18) |
Feb
(20) |
Mar
(22) |
Apr
(41) |
May
(28) |
Jun
(25) |
Jul
(10) |
Aug
(7) |
Sep
(5) |
Oct
(20) |
Nov
(13) |
Dec
(11) |
| 2003 |
Jan
(28) |
Feb
(5) |
Mar
(6) |
Apr
(5) |
May
(17) |
Jun
(6) |
Jul
(45) |
Aug
(35) |
Sep
(24) |
Oct
(50) |
Nov
(53) |
Dec
(6) |
| 2004 |
Jan
(4) |
Feb
(10) |
Mar
(52) |
Apr
(46) |
May
(8) |
Jun
(25) |
Jul
(12) |
Aug
(6) |
Sep
(8) |
Oct
(8) |
Nov
(9) |
Dec
(7) |
| 2005 |
Jan
(18) |
Feb
(60) |
Mar
(19) |
Apr
(26) |
May
(14) |
Jun
(27) |
Jul
(8) |
Aug
(15) |
Sep
(19) |
Oct
(53) |
Nov
(20) |
Dec
(23) |
| 2006 |
Jan
(16) |
Feb
(27) |
Mar
(33) |
Apr
(51) |
May
(36) |
Jun
(25) |
Jul
(54) |
Aug
(30) |
Sep
(25) |
Oct
(67) |
Nov
(43) |
Dec
(13) |
| 2007 |
Jan
(23) |
Feb
(27) |
Mar
(55) |
Apr
(79) |
May
(60) |
Jun
(66) |
Jul
(46) |
Aug
(30) |
Sep
(90) |
Oct
(49) |
Nov
(85) |
Dec
(74) |
| 2008 |
Jan
(68) |
Feb
(59) |
Mar
(64) |
Apr
(28) |
May
(66) |
Jun
(35) |
Jul
(73) |
Aug
(76) |
Sep
(65) |
Oct
(46) |
Nov
(41) |
Dec
(19) |
| 2009 |
Jan
(46) |
Feb
(90) |
Mar
(51) |
Apr
(104) |
May
(13) |
Jun
(24) |
Jul
(20) |
Aug
(39) |
Sep
(109) |
Oct
(101) |
Nov
(117) |
Dec
(57) |
| 2010 |
Jan
(55) |
Feb
(42) |
Mar
(39) |
Apr
(22) |
May
(33) |
Jun
(41) |
Jul
(25) |
Aug
(52) |
Sep
(75) |
Oct
(60) |
Nov
(62) |
Dec
(52) |
| 2011 |
Jan
(70) |
Feb
(31) |
Mar
(26) |
Apr
(28) |
May
(17) |
Jun
(38) |
Jul
(51) |
Aug
(35) |
Sep
(27) |
Oct
(35) |
Nov
(10) |
Dec
(20) |
| 2012 |
Jan
(21) |
Feb
(29) |
Mar
(13) |
Apr
(37) |
May
(33) |
Jun
(12) |
Jul
(34) |
Aug
(27) |
Sep
(29) |
Oct
(35) |
Nov
(58) |
Dec
(27) |
| 2013 |
Jan
(27) |
Feb
(16) |
Mar
(40) |
Apr
(16) |
May
(34) |
Jun
(37) |
Jul
(6) |
Aug
(3) |
Sep
(4) |
Oct
(49) |
Nov
(13) |
Dec
(12) |
| 2014 |
Jan
(15) |
Feb
(21) |
Mar
(11) |
Apr
(13) |
May
(27) |
Jun
(60) |
Jul
(19) |
Aug
(29) |
Sep
(20) |
Oct
(28) |
Nov
(41) |
Dec
(15) |
| 2015 |
Jan
(33) |
Feb
(29) |
Mar
(26) |
Apr
(17) |
May
(2) |
Jun
(13) |
Jul
(21) |
Aug
(30) |
Sep
(22) |
Oct
(15) |
Nov
(46) |
Dec
(20) |
| 2016 |
Jan
(6) |
Feb
(5) |
Mar
(9) |
Apr
(15) |
May
(9) |
Jun
(4) |
Jul
(3) |
Aug
(4) |
Sep
(39) |
Oct
(8) |
Nov
(5) |
Dec
(8) |
| 2017 |
Jan
(4) |
Feb
(14) |
Mar
(4) |
Apr
(16) |
May
(5) |
Jun
(10) |
Jul
(25) |
Aug
(2) |
Sep
(5) |
Oct
(11) |
Nov
(8) |
Dec
(11) |
| 2018 |
Jan
(7) |
Feb
(4) |
Mar
|
Apr
(1) |
May
(4) |
Jun
(21) |
Jul
(8) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2019 |
Jan
(1) |
Feb
(5) |
Mar
(18) |
Apr
(9) |
May
(5) |
Jun
(21) |
Jul
(25) |
Aug
(25) |
Sep
(4) |
Oct
(2) |
Nov
(2) |
Dec
(5) |
| 2020 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(6) |
Dec
|
| 2021 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(4) |
Jun
|
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(9) |
Nov
(1) |
Dec
(5) |
| 2022 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
(2) |
May
(5) |
Jun
(3) |
Jul
(3) |
Aug
(3) |
Sep
(3) |
Oct
(14) |
Nov
|
Dec
(1) |
| 2023 |
Jan
(10) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(2) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(5) |
Nov
|
Dec
|
| 2024 |
Jan
(8) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(4) |
Aug
(5) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(1) |
| 2025 |
Jan
(3) |
Feb
(2) |
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2026 |
Jan
(1) |
Feb
(12) |
Mar
|
Apr
(2) |
May
(8) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Luigi B. <lui...@fa...> - 2003-10-03 07:20:49
|
At 12:16 AM 10/3/03, Liguo Song wrote:
>if no option is given, the output of dvips will go to a printer.
>One solution to avoid this problem is to invoke dvips with "-o file.ps".
>Should we use this in our make files? If so, can anyone commit this change?
Yes, we should. I just committed the change.
Thanks,
Luigi
|
|
From: Liguo S. <Lig...@va...> - 2003-10-02 22:16:16
|
When trying to build the doc rpm package, I encountered a problem on the docs-ps stage. After some investigation, I learned that it is due to the secure mode of dvips that Redhat configured. In this mode, if no option is given, the output of dvips will go to a printer and it is not allowed. Please read the following discussion for details: http://www.mail-archive.com/te...@in.../msg01782.html https://sourceforge.net/tracker/index.php?func=detail&aid=717663&group_id=23164&atid=377580 One solution to avoid this problem is to invoke dvips with "-o file.ps". This redirect the output to the stdin, and we can redirect it to the postscript file. For example in the Docs/latex directory, /usr/bin/dvips -o refman.ps refman. This is causing the problem of building docs on RH8.0, and I don't know about RH9. I will test later. Should we use this in our make files? If so, can anyone commit this change? Thanks. Liguo (Leo) |
|
From: Luigi B. <lui...@fa...> - 2003-09-29 12:29:10
|
Hi all, the attached document tries to explain the changes I made to the Instrument class. Please do read it if you're working on new instruments. Bye, Luigi |
|
From: SourceForge.net <no...@so...> - 2003-09-24 12:09:36
|
Patches item #811713, was opened at 2003-09-24 12:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=811713&group_id=12740 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Francesco Perissin (fperissin) Assigned to: Nobody/Anonymous (nobody) Summary: Wrong lambda in BermudanSwaption example Initial Comment: The lambda of 0.25 used in BermudanSwaption example is too high compared to the carachteristic length of the parameters to fit. This may lead to unsuccesful calibrations in some particular situations, like the calibration of a 1-dim HullWhite model with the alpha being constant. A better value is 0.05. Appearently, there are no cases of wrong calibrations with the "official" HullWhite model (but... who knows?) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=811713&group_id=12740 |
|
From: Luigi B. <lui...@fa...> - 2003-09-24 10:11:29
|
At 11:50 AM 9/24/03, Ferdinando Ametrano wrote:
>Luigi:
>>we don't release half as often as I'd like :)
>3 releases in the 7 months period between May01-Dec01 might point out to
>that old script that was discontinued in February 2002 :)
Of course I discontinued it. I don't make the Windows installer---all it
takes on my box is 'make dist-check'. Why did YOU discontinued it? :)
Later,
Luigi
|
|
From: Ferdinando A. <na...@am...> - 2003-09-24 09:50:59
|
Luigi: >we don't release half as often as I'd like :) 3 releases in the 7 months period between May01-Dec01 might point out to that old script that was discontinued in February 2002 :) >Nando, if you want to put the thing on the site, I can convert it to some >other format go ahead! ciao -- Nando |
|
From: SourceForge.net <no...@so...> - 2003-09-23 17:33:45
|
Patches item #811296, was opened at 2003-09-23 10:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=811296&group_id=12740 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: European Swaption Excercise time Initial Comment: In ql/Pricers/blackswaption.cpp the BlackSwaption pricer is assuming the excercise date of the option is the start date of the swap. Line 29: 'Time start = arguments_.floatingResetTimes[0];' In order to use the excercise times present this needs to be changed to: 'Time start = arguments_.exerciseTimes[0];' And of course you might want to change the name of the variable to something other than 'start' Bi...@ci... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=811296&group_id=12740 |
|
From: Luigi B. <lui...@fa...> - 2003-09-22 07:57:34
|
Hi all, as QuantLib is about to turn three, I had a look at how the baby grew. The results are in the attached pdf---and the most notable feature is, we don't release half as often as I'd like :) Bye, Luigi P.S. Nando, if you want to put the thing on the site, I can convert it to some other format |
|
From: SourceForge.net <no...@so...> - 2003-09-17 14:52:44
|
Feature Requests item #807851, was opened at 2003-09-17 14:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=807851&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: Francesco Perissin (fperissin) Assigned to: Nobody/Anonymous (nobody) Summary: Adding custom constraints to short-rate model calibration Initial Comment: Users should be able to add constrains to the model calibration. For example, one may want to keep constant one of the 2 parameters of the Hull-White model, and calibrate on the other. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=807851&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2003-09-14 09:18:47
|
Feature Requests item #804608, was opened at 2003-09-11 20:03 Message generated for change (Settings changed) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 Category: None Group: None >Status: Closed Priority: 5 Submitted By: navin mehta (navin_mehta) Assigned to: Nobody/Anonymous (nobody) Summary: Examples build using Makefile.mak Initial Comment: Makefile.mak on the QuantLib-0.3.3 directory does not contain entry for builiding the examples, due to which Examples do not get build using make command from Borland C++ compiler.Though, it was working in previous release. It would help if you can please add the same. Thanks! ---------------------------------------------------------------------- Comment By: navin mehta (navin_mehta) Date: 2003-09-12 23:02 Message: Logged In: YES user_id=566336 "Typing 'make examples' from the root directory should work." Nando, Thank you very much for your help and the tip! This worked perfect . Regards ---------------------------------------------------------------------- Comment By: navin mehta (navin_mehta) Date: 2003-09-12 19:14 Message: Logged In: YES user_id=566336 Its a minor convenience issue,though. I actually ran the make command on the Quanltlib-0.3.3 folder, and saw the examples did not get built.It works with the previous version.(Used the free version of Borland C++ compiler) Here is what I think,causes the problem: QuantLib-0.3.0 version of makefile.mak: quantlib:: cd ql $(MAKE) cd ..\Examples $(MAKE) -DQL_DIR="..\.." cd .. QuantLib-0.3.3 version of makefile.mak quantlib:: cd ql $(MAKE) #cd ..\test-suite #$(MAKE) -DQL_DIR=".." cd .. I changed the above piece of code in the new version, and it works. Anyway , its only a minor convenience thing . Cheers! ---------------------------------------------------------------------- Comment By: Ferdinando Ametrano (nando) Date: 2003-09-12 11:00 Message: Logged In: YES user_id=34616 QuantLib-0.3.3-src.zip includes a makefile.mak in the root directory with an "examples" target that will build all the Examples. Typing 'make examples' from the root directory should work. Alternatively 'make' from the Examples directory will work too. In the first case the examples will be built linking to the installed QuantLib library. In the second case the examples will be built linking to the relative path ../lib/ QuantLib library Please let me know if you have further requirement, or if the makefile is missing from other files/packages of the QuantLib 0.3.3 distribution thank you ciao -- Nando ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2003-09-12 21:02:18
|
Feature Requests item #804608, was opened at 2003-09-11 18:03 Message generated for change (Comment added) made by navin_mehta You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: navin mehta (navin_mehta) Assigned to: Nobody/Anonymous (nobody) Summary: Examples build using Makefile.mak Initial Comment: Makefile.mak on the QuantLib-0.3.3 directory does not contain entry for builiding the examples, due to which Examples do not get build using make command from Borland C++ compiler.Though, it was working in previous release. It would help if you can please add the same. Thanks! ---------------------------------------------------------------------- >Comment By: navin mehta (navin_mehta) Date: 2003-09-12 21:02 Message: Logged In: YES user_id=566336 "Typing 'make examples' from the root directory should work." Nando, Thank you very much for your help and the tip! This worked perfect . Regards ---------------------------------------------------------------------- Comment By: navin mehta (navin_mehta) Date: 2003-09-12 17:14 Message: Logged In: YES user_id=566336 Its a minor convenience issue,though. I actually ran the make command on the Quanltlib-0.3.3 folder, and saw the examples did not get built.It works with the previous version.(Used the free version of Borland C++ compiler) Here is what I think,causes the problem: QuantLib-0.3.0 version of makefile.mak: quantlib:: cd ql $(MAKE) cd ..\Examples $(MAKE) -DQL_DIR="..\.." cd .. QuantLib-0.3.3 version of makefile.mak quantlib:: cd ql $(MAKE) #cd ..\test-suite #$(MAKE) -DQL_DIR=".." cd .. I changed the above piece of code in the new version, and it works. Anyway , its only a minor convenience thing . Cheers! ---------------------------------------------------------------------- Comment By: Ferdinando Ametrano (nando) Date: 2003-09-12 09:00 Message: Logged In: YES user_id=34616 QuantLib-0.3.3-src.zip includes a makefile.mak in the root directory with an "examples" target that will build all the Examples. Typing 'make examples' from the root directory should work. Alternatively 'make' from the Examples directory will work too. In the first case the examples will be built linking to the installed QuantLib library. In the second case the examples will be built linking to the relative path ../lib/ QuantLib library Please let me know if you have further requirement, or if the makefile is missing from other files/packages of the QuantLib 0.3.3 distribution thank you ciao -- Nando ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2003-09-12 17:14:54
|
Feature Requests item #804608, was opened at 2003-09-11 18:03 Message generated for change (Comment added) made by navin_mehta You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: navin mehta (navin_mehta) Assigned to: Nobody/Anonymous (nobody) Summary: Examples build using Makefile.mak Initial Comment: Makefile.mak on the QuantLib-0.3.3 directory does not contain entry for builiding the examples, due to which Examples do not get build using make command from Borland C++ compiler.Though, it was working in previous release. It would help if you can please add the same. Thanks! ---------------------------------------------------------------------- >Comment By: navin mehta (navin_mehta) Date: 2003-09-12 17:14 Message: Logged In: YES user_id=566336 Its a minor convenience issue,though. I actually ran the make command on the Quanltlib-0.3.3 folder, and saw the examples did not get built.It works with the previous version.(Used the free version of Borland C++ compiler) Here is what I think,causes the problem: QuantLib-0.3.0 version of makefile.mak: quantlib:: cd ql $(MAKE) cd ..\Examples $(MAKE) -DQL_DIR="..\.." cd .. QuantLib-0.3.3 version of makefile.mak quantlib:: cd ql $(MAKE) #cd ..\test-suite #$(MAKE) -DQL_DIR=".." cd .. I changed the above piece of code in the new version, and it works. Anyway , its only a minor convenience thing . Cheers! ---------------------------------------------------------------------- Comment By: Ferdinando Ametrano (nando) Date: 2003-09-12 09:00 Message: Logged In: YES user_id=34616 QuantLib-0.3.3-src.zip includes a makefile.mak in the root directory with an "examples" target that will build all the Examples. Typing 'make examples' from the root directory should work. Alternatively 'make' from the Examples directory will work too. In the first case the examples will be built linking to the installed QuantLib library. In the second case the examples will be built linking to the relative path ../lib/ QuantLib library Please let me know if you have further requirement, or if the makefile is missing from other files/packages of the QuantLib 0.3.3 distribution thank you ciao -- Nando ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2003-09-12 12:00:14
|
Feature Requests item #804600, was opened at 2003-09-11 19:49 Message generated for change (Settings changed) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804600&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: navin mehta (navin_mehta) >Assigned to: Luigi Ballabio (lballabio) Summary: Getting maturity date for a swap Initial Comment: There is not an easy way to get the start date of a swap,given a swap object. It will be highly appreciated if you can please provide a public method for the same in the Swap/Simpleswap object. Thanks! BTW, I use a temporary workaround macro for this: #define SWAPSTARTDATE(swap) ((const CashFlows::Coupon*)&(*(swap->fixedLeg())[0]))- >accrualStartDate() where swap is a Swap object. Other method as suggested by Luigi: -------------------------------- #include <ql/Instruments/swap.hpp> #include <ql/CashFlows/coupon.hpp> namespace QuantLib { namespace Instruments { /* This class below inherits from Swap in order to gain access to its protected members. Don't try this kind of hacks at home. Oh, and did I mention this isn't tested? */ class SwapInspector : public Swap { private: // we don't really want to instantiate this SwapInspector() : Swap(std::vector<Handle<CashFlow> >(), std::vector<Handle<CashFlow> >(), RelinkableHandle<TermStructure>()) {} public: // return the start date of the first coupon static Date startDate(const Swap& swap) { // get the first cash flow Handle<CashFlow> firstCF = swap.firstLeg_.front(); try { // is this a coupon? Handle<CashFlows::Coupon> coupon = firstCF; // ok, return its start date return coupon.accrualStartDate(); } catch (Error&) { // it was not a coupon. We'll doctor the // error message to make it more readable. throw Error("The swap coupons did not provide " "enough information"); } } // return the end date of the last coupon static Date endDate(const Swap& swap) { Handle<CashFlow> lastCF = swap.firstLeg_.back(); try { Handle<CashFlows::Coupon> coupon = lastCF; return coupon.accrualEndDate(); } catch (Error&) { throw Error("The swap coupons did not provide " "enough information"); } } }; } } Given a swap object, how can I get the start date and length ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804600&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2003-09-12 09:00:32
|
Feature Requests item #804608, was opened at 2003-09-11 20:03 Message generated for change (Comment added) made by nando You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: navin mehta (navin_mehta) Assigned to: Nobody/Anonymous (nobody) Summary: Examples build using Makefile.mak Initial Comment: Makefile.mak on the QuantLib-0.3.3 directory does not contain entry for builiding the examples, due to which Examples do not get build using make command from Borland C++ compiler.Though, it was working in previous release. It would help if you can please add the same. Thanks! ---------------------------------------------------------------------- >Comment By: Ferdinando Ametrano (nando) Date: 2003-09-12 11:00 Message: Logged In: YES user_id=34616 QuantLib-0.3.3-src.zip includes a makefile.mak in the root directory with an "examples" target that will build all the Examples. Typing 'make examples' from the root directory should work. Alternatively 'make' from the Examples directory will work too. In the first case the examples will be built linking to the installed QuantLib library. In the second case the examples will be built linking to the relative path ../lib/ QuantLib library Please let me know if you have further requirement, or if the makefile is missing from other files/packages of the QuantLib 0.3.3 distribution thank you ciao -- Nando ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2003-09-11 18:03:23
|
Feature Requests item #804608, was opened at 2003-09-11 18:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: navin mehta (navin_mehta) Assigned to: Nobody/Anonymous (nobody) Summary: Examples build using Makefile.mak Initial Comment: Makefile.mak on the QuantLib-0.3.3 directory does not contain entry for builiding the examples, due to which Examples do not get build using make command from Borland C++ compiler.Though, it was working in previous release. It would help if you can please add the same. Thanks! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2003-09-11 17:49:42
|
Feature Requests item #804600, was opened at 2003-09-11 17:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804600&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: navin mehta (navin_mehta) Assigned to: Nobody/Anonymous (nobody) Summary: Getting maturity date for a swap Initial Comment: There is not an easy way to get the start date of a swap,given a swap object. It will be highly appreciated if you can please provide a public method for the same in the Swap/Simpleswap object. Thanks! BTW, I use a temporary workaround macro for this: #define SWAPSTARTDATE(swap) ((const CashFlows::Coupon*)&(*(swap->fixedLeg())[0]))- >accrualStartDate() where swap is a Swap object. Other method as suggested by Luigi: -------------------------------- #include <ql/Instruments/swap.hpp> #include <ql/CashFlows/coupon.hpp> namespace QuantLib { namespace Instruments { /* This class below inherits from Swap in order to gain access to its protected members. Don't try this kind of hacks at home. Oh, and did I mention this isn't tested? */ class SwapInspector : public Swap { private: // we don't really want to instantiate this SwapInspector() : Swap(std::vector<Handle<CashFlow> >(), std::vector<Handle<CashFlow> >(), RelinkableHandle<TermStructure>()) {} public: // return the start date of the first coupon static Date startDate(const Swap& swap) { // get the first cash flow Handle<CashFlow> firstCF = swap.firstLeg_.front(); try { // is this a coupon? Handle<CashFlows::Coupon> coupon = firstCF; // ok, return its start date return coupon.accrualStartDate(); } catch (Error&) { // it was not a coupon. We'll doctor the // error message to make it more readable. throw Error("The swap coupons did not provide " "enough information"); } } // return the end date of the last coupon static Date endDate(const Swap& swap) { Handle<CashFlow> lastCF = swap.firstLeg_.back(); try { Handle<CashFlows::Coupon> coupon = lastCF; return coupon.accrualEndDate(); } catch (Error&) { throw Error("The swap coupons did not provide " "enough information"); } } }; } } Given a swap object, how can I get the start date and length ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804600&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2003-09-11 10:56:00
|
Bugs item #804303, was opened at 2003-09-11 12:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=804303&group_id=12740 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Luigi Ballabio (lballabio) Assigned to: Nobody/Anonymous (nobody) Summary: division by zero in TermStructure::zeroCoupon Initial Comment: When compiled with Borland, the TermStructure:: zeroCoupon method fails with a division by zero if t == 0. 0 and f > 0 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=804303&group_id=12740 |
|
From: Luigi B. <lui...@fa...> - 2003-09-10 07:57:25
|
At 03:00 PM 9/9/03 -0500, Liguo Song wrote: >I noticed the discussion about the 0/0 bug in the >TermStructure::zeroCoupon() on the forum at www.Wilmott.com. So, I checked >the source code and find that the following code is problematic. > > inline Rate TermStructure::zeroCoupon(Time t, int f, > bool extrapolate) const { > DiscountFactor df = discountImpl(t, extrapolate); > if (f > 0 && t <= (1.0/(double)f)) > return Rate((1.0/df-1.0)/t); > if (t == 0.0) > t = 1.0; > return Rate((QL_POW(1.0/df,1.0/(t*f))-1.0)*f); > } > >The "if (t == 0.0) " will never be processed as as t <= 1.0/(double)f is >always true when f > 0 and t=0.0. Thus, 0/0 or x/0 will happen as long as >f > 0 and t = 0.0. Hmm. The "if (t == 0.0)" part doesn't make much sense to me either. Why change t to 1.0 if 0.0 was requested? Andre', any insight? >I am just quite curious about why it didn't happen to any compiler other >than Borland. I'm just as puzzled. >I am not knowledgable enough to offer any remedy here. Anyone up for a patch? I'd try something like: inline Rate TermStructure::zeroCoupon(Time t, int f, bool extrapolate) const { if (t == 0.0) return forwardImpl(0.0); DiscountFactor df = discountImpl(t, extrapolate); if (f > 0 && t <= (1.0/f)) return Rate((1.0/df-1.0)/t); else return Rate((QL_POW(1.0/df,1.0/(t*f))-1.0)*f); } Later, Luigi |
|
From: Liguo S. <Lig...@va...> - 2003-09-09 20:00:48
|
Hi, Nando, I noticed the discussion about the 0/0 bug in the TermStructure::zeroCoupon() on the forum at www.Wilmott.com. So, I checked the source code and find that the following code is problematic. inline Rate TermStructure::zeroCoupon(Time t, int f, bool extrapolate) const { DiscountFactor df = discountImpl(t, extrapolate); if (f > 0 && t <= (1.0/(double)f)) return Rate((1.0/df-1.0)/t); if (t == 0.0) t = 1.0; return Rate((QL_POW(1.0/df,1.0/(t*f))-1.0)*f); } The "if (t == 0.0) " will never be processed as as t <= 1.0/(double)f is always true when f > 0 and t=0.0. Thus, 0/0 or x/0 will happen as long as f > 0 and t = 0.0. I am just quite curious about why it didn't happen to any compiler other than Borland. I am not knowledgable enough to offer any remedy here. Anyone up for a patch? Later. Liguo |
|
From: Ferdinando A. <na...@am...> - 2003-09-02 10:14:21
|
Hi all I've added QuantLibXL to the 0.3.3 release. Check it out if you're interested: http://quantlib.org/nextrelease.html#qlxl The 0.3.3 release will be announced tomorrow as planned. ------------ ciao -- Nando |
|
From: Ferdinando A. <na...@am...> - 2003-09-02 07:56:58
|
At 01:23 PM 9/1/2003 -0500, Liguo Song wrote: >All the RPMs are OK, and ready for release. thank you >The src RPM is missing. Obviously, I forget to put it to > http://nlog.phy.vanderbilt.edu/SoftwareProjects/QuantLib/ > >Sorry for the mess up. Can you upload it to sourceforge also? it now on-line >I will talk to CppUnit team about the cppunit RPMS. great ciao -- Nando |
|
From: Liguo S. <Lig...@va...> - 2003-09-01 18:23:48
|
Hi, Nando, All the RPMs are OK, and ready for release. The src RPM is missing. Obviously, I forget to put it to http://nlog.phy.vanderbilt.edu/SoftwareProjects/QuantLib/ Sorry for the mess up. Can you upload it to sourceforge also? I will talk to CppUnit team about the cppunit RPMS. Have a good vacation. Liguo Ferdinando Ametrano wrote: > Hi all > > the 0.3.3 release is on-line at the not-public page > http://quantlib.org/nextrelease.html > > I would ask you all to check links, files, and descriptions. Especially > please check that all downloaded files are not corrupted. I will check > all Win32 links/files, and I assume :) that Luigi will check all Unix > links/files except RPMs (Linguo?) and Debian (Dirk?) > > Should I make cpp-unit RPMs available on QuantLib? I don't think so... > Linguo, why don't you get in touch with the cpp-unit team and offer them > the RPMs? > > I can correct/fix/upload anything tomorrow, then on Wednesday the 0.3.3 > will be officially released. Please note that on Wednesday I will be on > vacation, with low-band and limited time available for QuantLib :) > > Feel free to browse the quantlib.org site for general > fixes/suggestions/updates > > thank you everybody for the work on 0.3.3 > > ------------ > ciao -- Nando > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Quantlib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
|
From: Ferdinando A. <na...@am...> - 2003-09-01 17:24:43
|
Dirk: >I am confused as to what you want to do. I am confused too :) Jokes aside, Debian should have no problems, especially because we're not providing files but only links. I just would like to be sure I'm providing the right links (http://ftp.us.debian.org/debian/pool/main/q/quantlib) For other RPMs and Unix files we're providing the files, and I would like to be sure the files I've uploaded are not corrupted (as it happened in the past) thank you ciao -- Nando |
|
From: Dirk E. <ed...@de...> - 2003-09-01 17:13:10
|
On Mon, Sep 01, 2003 at 06:57:56PM +0200, Ferdinando Ametrano wrote:
> I would ask you all to check links, files, and descriptions. Especially
> please check that all downloaded files are not corrupted. I will check all
> Win32 links/files, and I assume :) that Luigi will check all Unix
> links/files except RPMs (Linguo?) and Debian (Dirk?)
I am confused as to what you want to do. 0.3.3 packages (ql, ql-python,
ql-ruby and two doc packages with pdf and html) have been updated and are
available for some ten or so architectures from hundreds of mirrors?
Do you want all of those on the top-level page?
Do you want the links to the doc package(s):
$MACHINE/debian/pool/main/q/quantlib-refman/ works for the pdf docs, the
html variant is a 'new' package and is not yet there (probably by next
weekend)
Other than that, it would probably help to just show a simple
$ apt-get update; apt-get install quantlib-examples \
quantlib-refman libquantlib0-dev
which will also install the library itself, given proper apt-get source file
settings.
Let me know how I can help, Dirk
--
Those are my principles, and if you don't like them... well, I have others.
-- Groucho Marx
|
|
From: Ferdinando A. <na...@am...> - 2003-09-01 16:58:01
|
Hi all the 0.3.3 release is on-line at the not-public page http://quantlib.org/nextrelease.html I would ask you all to check links, files, and descriptions. Especially please check that all downloaded files are not corrupted. I will check all Win32 links/files, and I assume :) that Luigi will check all Unix links/files except RPMs (Linguo?) and Debian (Dirk?) Should I make cpp-unit RPMs available on QuantLib? I don't think so... Linguo, why don't you get in touch with the cpp-unit team and offer them the RPMs? I can correct/fix/upload anything tomorrow, then on Wednesday the 0.3.3 will be officially released. Please note that on Wednesday I will be on vacation, with low-band and limited time available for QuantLib :) Feel free to browse the quantlib.org site for general fixes/suggestions/updates thank you everybody for the work on 0.3.3 ------------ ciao -- Nando |