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: <no...@so...> - 2002-04-30 07:41:11
|
Feature Requests item #550253, was opened at 2002-04-29 18:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=362740&aid=550253&group_id=12740 Category: None Group: None >Status: Closed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Ferdinando Ametrano (nando) Summary: London Calendar changes 2002 Initial Comment: Change the London Calendar to reflect changes in Spring Bank Holiday and day off for 50 years of Queen! i.e. Instead of 27 Aug 2002 holiday we have 3 Jun 2002 followed by an exceptional holiday on 4 Jun 2002. Great work you guys are doing. Regards, Jon Davidson jd...@mp... ---------------------------------------------------------------------- Comment By: Ferdinando Ametrano (nando) Date: 2002-04-30 09:40 Message: Logged In: YES user_id=34616 Jon, I fixed this in the CVS. If you want to double check the file is: http://cvs.sourceforge.net/cgi- bin/viewcvs.cgi/quantlib/QuantLib/ql/Calendars/london.cpp? rev=HEAD&content-type=text/vnd.viewcvs-markup You're now listed in the QuantLib contributors list. Thank you very much. ciao -- Nando ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=362740&aid=550253&group_id=12740 |
|
From: <no...@so...> - 2002-04-30 07:40:54
|
Feature Requests item #550253, was opened at 2002-04-29 18:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=362740&aid=550253&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Ferdinando Ametrano (nando) Summary: London Calendar changes 2002 Initial Comment: Change the London Calendar to reflect changes in Spring Bank Holiday and day off for 50 years of Queen! i.e. Instead of 27 Aug 2002 holiday we have 3 Jun 2002 followed by an exceptional holiday on 4 Jun 2002. Great work you guys are doing. Regards, Jon Davidson jd...@mp... ---------------------------------------------------------------------- >Comment By: Ferdinando Ametrano (nando) Date: 2002-04-30 09:40 Message: Logged In: YES user_id=34616 Jon, I fixed this in the CVS. If you want to double check the file is: http://cvs.sourceforge.net/cgi- bin/viewcvs.cgi/quantlib/QuantLib/ql/Calendars/london.cpp? rev=HEAD&content-type=text/vnd.viewcvs-markup You're now listed in the QuantLib contributors list. Thank you very much. ciao -- Nando ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=362740&aid=550253&group_id=12740 |
|
From: <no...@so...> - 2002-04-30 07:38:28
|
Feature Requests item #550253, was opened at 2002-04-29 18:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=362740&aid=550253&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Ferdinando Ametrano (nando) Summary: London Calendar changes 2002 Initial Comment: Change the London Calendar to reflect changes in Spring Bank Holiday and day off for 50 years of Queen! i.e. Instead of 27 Aug 2002 holiday we have 3 Jun 2002 followed by an exceptional holiday on 4 Jun 2002. Great work you guys are doing. Regards, Jon Davidson jd...@mp... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=362740&aid=550253&group_id=12740 |
|
From: Luigi B. <bal...@ma...> - 2002-04-29 20:07:08
|
At 6:58 PM +0200 4/29/02, Andre Louw wrote: >I need some help. We all have our specific idiosyncrasies, one of mine is >that I'm hooked on my indentation and general appearance of my source files. It seems to be a widespread disease here :) >Unfortunately I'm running into trouble when checking in or out from >QuantLib's CVS. >Any file that I worked on that somebody else worked on as well I get >conflicts, 99% of the time because of >indentation. Unfortunately this works vice-versa as well. >I haven't really checked but I'm pretty sure there must be some automated >way of getting this to work. >IOW get a common .indent.pro on the CVS server, which all files are >converted to when checked in, >and a personal .indent.pro which is used when checking out. Andre, I just checked a fe CVS resources on line. It is possible to run a program upon commit and/or update: however, the programs are run only after the cvs operation succesfully terminates---one can't pipe the cvs incoming/outgoing data through them :( >Luigi, > >I used the indent.pro file you sent me a while ago but I've noticed the >indent >option --braces-on-struct-decl-line tends to break c++ files!!!! Ouch. This is a strange one: shuffling around whitespace shouldn't break C++ code... What exactly happens to the source? Luigi -- |
|
From: Andre L. <An...@de...> - 2002-04-29 16:49:42
|
Hi all, I need some help. We all have our specific idiosyncrasies, one of mine is that I'm hooked on my indentation and general appearance of my source files. Unfortunately I'm running into trouble when checking in or out from QuantLib's CVS. Any file that I worked on that somebody else worked on as well I get conflicts, 99% of the time because of indentation. Unfortunately this works vice-versa as well. I haven't really checked but I'm pretty sure there must be some automated way of getting this to work. IOW get a common .indent.pro on the CVS server, which all files are converted to when checked in, and a personal .indent.pro which is used when checking out. Luigi, I used the indent.pro file you sent me a while ago but I've noticed the indent option --braces-on-struct-decl-line tends to break c++ files!!!! Any body out there with some experience in this line? Andre ------------------------------------------------------------------------- This e-mail is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged, proprietary to the company and protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. Opinions, conclusions and other information in this message that do not relate to the official business of our company shall be understood as neither given nor endorsed by it. |
|
From: <no...@so...> - 2002-04-29 16:40:36
|
Feature Requests item #550253, was opened at 2002-04-29 09:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=362740&aid=550253&group_id=12740 Category: None Group: None Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: London Calendar changes 2002 Initial Comment: Change the London Calendar to reflect changes in Spring Bank Holiday and day off for 50 years of Queen! i.e. Instead of 27 Aug 2002 holiday we have 3 Jun 2002 followed by an exceptional holiday on 4 Jun 2002. Great work you guys are doing. Regards, Jon Davidson jd...@mp... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=362740&aid=550253&group_id=12740 |
|
From: Ferdinando A. <fer...@am...> - 2002-04-25 19:52:24
|
At 01:15 PM 4/25/2002 +0200, Andre Louw wrote: > > I would also like to introduce another change: I would > > require the user to provide a discount grid starting with the first >discount > > equal to 1.00, so that we can assume that the first date is the settlement > > > date. I think this would be safer. Here's what I have in mind: > > [...] >Agreed, is safer than assuming it matches the input. done. ciao -- Nando |
|
From: Andre L. <An...@de...> - 2002-04-25 11:17:54
|
Hi, I have a bit of a problem with the name compoundforward, essentially it bootstraps a strip of forwards of some compounding freq to a strip of discountfactors. These df's it then uses to get back to zeros and instantaneous forwards, so it seems it is more in the line of a DiscountStructure? In fact I have gone as far as inheriting from DiscountStructure and passing the implementation of zeroYield and forward to it. Haven't checked in yet, would like to hear yr comments first? Andre ------------------------------------------------------------------------- This e-mail is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged, proprietary to the company and protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. Opinions, conclusions and other information in this message that do not relate to the official business of our company shall be understood as neither given nor endorsed by it. |
|
From: Andre L. <An...@de...> - 2002-04-25 11:07:14
|
Nando wrote: > I did a few changes on TermStructures. I also did a few changes to > DiscountCurve: Agree with the changes, thanx. > In TermStructure zero and forward rates are assumed to be continuous > compounded rates: this is probably an error we did in the > original design, but unless we fix it everywhere this is the way to go. Unless I'm missing the boat entirely I don't necesarily think it's an error, it's more a question of a call that was made. I mean conversions can be made where necessary either way, not so? Why fix it if it ain't broke? > Please let me know if after my patch DiscountCurve still > works the way you wanted. I can always roll back my patch if needed. Works fine. > I would also like to introduce another change: I would > require the user to provide a discount grid starting with the first discount > equal to 1.00, so that we can assume that the first date is the settlement > date. I think this would be safer. Here's what I have in mind: > [...] Agreed, is safer than assuming it matches the input. ------------------------------------------------------------------------- This e-mail is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged, proprietary to the company and protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. Opinions, conclusions and other information in this message that do not relate to the official business of our company shall be understood as neither given nor endorsed by it. |
|
From: Ferdinando A. <fer...@am...> - 2002-04-25 09:31:14
|
Hi all At 09:23 PM 4/24/2002 +0200, Luigi wrote: >>In TermStructure zero and forward rates are assumed to be continuous >>compounded rates: this is probably an error we did in the original >>design, but unless we fix it everywhere this is the way to go. >I agree that the short-time goal is consistency with the present design. >However, "everywhere" is just PiecewiseFlatForward and the formulas in >DiscountCurve and such. It's more deeper than that. Continuos compounding for zero and instantaneous forward rates is assumed in: ZeroYieldStructure::discountImpl ZeroYieldStructure::forwardImpl DiscountStructure::zeroYieldImpl DiscountStructure::forwardImpl ForwardRateStructure::discountImpl ForwardRateStructure::zeroYieldImpl [btw: I think I spotted a bug in ZeroYieldStructure::forwardImpl: shouldn't 'r1+t*(r2-r1)/dt' be 'r2+t*(r2-r1)/dt'? ] Also should we agree that discrete forwards must have the same compounding rule as zeros (see my post to quantlib-users), then tmy proposed implementation for TermStructure::forward(Date, Date) assumes continuos compounding too ciao -- Nando |
|
From: Ferdinando A. <fer...@am...> - 2002-04-25 09:24:39
|
Hi all
Luigi wrote:
>>I would also like to introduce another change: I would require the user
>>to provide a discount grid starting with the first discount equal to
>>1.00, so that we can assume that the first date is the settlement date. I
>>think this would be safer.
>I had the same thought when I saw the class, but then I realized that
>log-linear interpolation already guarantees that the discount at time 0.0
>is always 1.0.
the main point here is to force the user to declare at which date he wants
t=0.0, to avoid an implied t=0.0 that doesn't match the input tuple
{todaysDate, calendar, settlementDays)
>>PS2 I would also remove settlementDays() from the TermStructure
>>interface. It is not used anywhere in the library and it is misleading
>>(e.g. it has no relation with the settlement days of the instruments used
>>to bootstrap the curve).
>>Anyone against this change?
>Not against this change as such. However, either one passes today's date
>and a number of settlement days or today's date and the settlement date.
>No, wait a moment. Passing explicitly both today's date and the settlement
>date could (emphasis on "could") remove the need for passing a calendar to
>the curve.
>It could also clear up the code in ImpliedTermStructure. Hmm...
>I say go for it.
OK
ciao -- Nando
|
|
From: Luigi B. <bal...@ma...> - 2002-04-24 19:23:36
|
Hi all, At 6:56 PM +0200 4/24/02, Ferdinando Ametrano wrote: >In TermStructure zero and forward rates are assumed to be continuous >compounded rates: this is probably an error we did in the original >design, but unless we fix it everywhere this is the way to go. I agree that the short-time goal is consistency with the present design. However, "everywhere" is just PiecewiseFlatForward and the formulas in DiscountCurve and such. I think it's still open for discussion---it's release 0.3.0, not 3.0. This was the point of the mail I sent this morning: I wanted the people on the list to discuss the thing. Also, I think that the discussion is only on forward rates: as for zero yield rates, I think that zeroYield(exerciseDate) must return what it does right now for Black-Scholes to work, mustn't it? Or do you want to introduce another method called average() or something? >I would also like to introduce another change: I would require the >user to provide a discount grid starting with the first discount >equal to 1.00, so that we can assume that the first date is the >settlement date. I think this would be safer. I had the same thought when I saw the class, but then I realized that log-linear interpolation already guarantees that the discount at time 0.0 is always 1.0. >PS2 I would also remove settlementDays() from the TermStructure >interface. It is not used anywhere in the library and it is >misleading (e.g. it has no relation with the settlement days of the >instruments used to bootstrap the curve). >Anyone against this change? Not against this change as such. However, either one passes today's date and a number of settlement days or today's date and the settlement date. No, wait a moment. Passing explicitly both today's date and the settlement date could (emphasis on "could") remove the need for passing a calendar to the curve. It could also clear up the code in ImpliedTermStructure. Hmm... I say go for it. Bye, Luigi -- |
|
From: Ferdinando A. <fer...@am...> - 2002-04-24 17:03:23
|
I was wrong with settlementDays(), since ImpliedTermStructure relies on that. Anyway I would do the little work in ImpliedTermStructure to remove settlementDays() nonetheless ciao -- Nando |
|
From: Ferdinando A. <fer...@am...> - 2002-04-24 16:57:56
|
Hi Andre
I did a few changes on TermStructures. I also did a few changes to
DiscountCurve:
1) 2 new methods:
const std::vector<Date>& dates() const;
const std::vector<Time>& times() const;
2) required sorted dates and decreasing discount factors in the constructor
3) removed forwardImpl and zeroYieldImpl. Now DiscountCurve uses these
methods as inherited by DiscountStructure
Point 3 is the most important. Taking a look at your implementation of
forwardImpl and zeroYieldImpl I spotted some inconsistencies with the
TermStructures interface, mainly the fact that forward(Date, bool) must
return an annual continuous compounded rate.
In TermStructure zero and forward rates are assumed to be continuous
compounded rates: this is probably an error we did in the original design,
but unless we fix it everywhere this is the way to go.
Please let me know if after my patch DiscountCurve still works the way you
wanted. I can always roll back my patch if needed.
I would also like to introduce another change: I would require the user to
provide a discount grid starting with the first discount equal to 1.00, so
that we can assume that the first date is the settlement date. I think this
would be safer. Here's what I have in mind:
DiscountCurve::DiscountCurve(const Date & todaysDate,
const Calendar & calendar, const DayCounter & dayCounter,
Currency currency, const std::vector < Date > &dates,
const std::vector < DiscountFactor > &discounts)
: todaysDate_(todaysDate), settlementDate_(dates_[0]),
calendar_(calendar), dayCounter_(dayCounter),
currency_(currency), dates_(dates), discounts_(discounts) {
QL_REQUIRE(dates.size()>1, "DiscountCurveDiscountCurve :"
" too few dates");
QL_REQUIRE(discounts_[0]==1.0, "DiscountCurveDiscountCurve :"
" invalid first discount, not equal to one");
QL_REQUIRE(todaysDate_<=settlementDate_,
"DiscountCurveDiscountCurve :"
" today's date greater than settlement date");
times_.resize(dates.size());
times_[0]=0.0;
for(Size i = 1; i < dates.size(); i++) {
QL_REQUIRE(dates_[i]>dates_[i-1],
"DiscountCurveDiscountCurve : invalid date");
QL_REQUIRE(discounts_[i]<=discounts_[i-1],
"DiscountCurveDiscountCurve : invalid discount");
times_[i] = dayCounter_.yearFraction(settlementDate_,
dates_[i]);
}
interpolation_ = Handle < DfInterpolation >
(new DfInterpolation(times_.begin(), times_.end(),
discounts.begin(), true));
}
I haven't applied this patch because it will change the constructor
signature, so I will wait for your approval.
thank you for your contribution
ciao -- Nando
PS please note this message is for the quantlib-dev list, not quantlib-users
PS2 I would also remove settlementDays() from the TermStructure interface.
It is not used anywhere in the library and it is misleading (e.g. it has no
relation with the settlement days of the instruments used to bootstrap the
curve).
Anyone against this change?
|
|
From: Ferdinando A. <fer...@am...> - 2002-04-22 07:45:51
|
Hi all I've created the branch for the 0.3.0 release. The branch is called R000300f0. Bug fixing and improvements of the documentation are welcome on this branch. For general development please use the CVS trunk. I've also uploaded the Win32 files to the "Last Build" page on quantlib.org I would urge everybody to take a look at the documentation for corrections, additions, and general feedback. In 2 weeks I would like to finalize the 0.3.0 release process. ciao -- Nando |
|
From: <no...@so...> - 2002-04-18 17:23:28
|
Bugs item #545734, was opened at 2002-04-18 10:17 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112740&aid=545734&group_id=12740 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: impliedVolatility when exdivdate==today Initial Comment: FdDividendAmericanOption::impliedVolatility fails, printing "out of memory", if the first exdividend date is zero, i.e. today. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-04-18 10:23 Message: Logged In: NO This is a program that shows the failure. I tried to add it as attachment, but that didn't work. #include <ql/quantlib.hpp> using namespace QuantLib; using DayCounters::Actual365; using QuantLib::Pricers::FdDividendAmericanOption; using QuantLib::Pricers::FdAmericanOption; int main(int argc, char* argv[]) { try { double underlying = 100; double strike = 100; // at the money Rate riskFreeRate = 0.0; // 5% double volatility = 0.20; // 20% Actual365 dayCounter; Date today(Day(12), Month(4), Year(2002)); Date expiration(Day(13), Month(5), Year(2002)); Time maturity = dayCounter.yearFraction(today, expiration); std::vector<Time> dividendList; dividendList.push_back(2.0); double totalDiv = 0.0; for (int i=0; i<dividendList.size(); ++i) { totalDiv += dividendList[i]; } Spread dividendYield = totalDiv/(underlying*maturity); Size timeSteps=100, assetSteps = 100; FdAmericanOption myAmericanOption(Option::Call, underlying, strike, dividendYield, riskFreeRate, maturity, volatility, timeSteps, assetSteps); double myAmericanOptionValue = myAmericanOption.value(); std::cerr << "maturity=" << maturity << " underlying=" << underlying << " strike=" << strike << " riskFreeRate=" << riskFreeRate << " volatility=" << volatility << " dividendYield=" << dividendYield << " contDiv=" << myAmericanOptionValue << std::endl; for (Date exdivdate=expiration; exdivdate>=today; exdivdate--) { // std::cerr << exdivdate << '\n'; std::vector<Time> exdivtimeList; exdivtimeList.push_back(dayCounter.yearFraction (today, exdivdate)); FdDividendAmericanOption myDividendAmericanOption (Option::Call, underlying, strike, 0.0, riskFreeRate, maturity, volatility, dividendList, exdivtimeList, timeSteps, assetSteps); double impliedVol = myDividendAmericanOption.impliedVolatility (myAmericanOptionValue); std::cout << exdivdate << ' ' << DoubleFormatter::toString(impliedVol, 6) << std::endl; } return 0; } catch (std::exception& e) { std::cout << e.what() << std::endl; return 1; } catch (...) { std::cout << "unknown error" << std::endl; return 1; } } ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112740&aid=545734&group_id=12740 |
|
From: <no...@so...> - 2002-04-18 17:17:59
|
Bugs item #545734, was opened at 2002-04-18 10:17 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112740&aid=545734&group_id=12740 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: impliedVolatility when exdivdate==today Initial Comment: FdDividendAmericanOption::impliedVolatility fails, printing "out of memory", if the first exdividend date is zero, i.e. today. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112740&aid=545734&group_id=12740 |
|
From: Andre L. <An...@de...> - 2002-04-16 07:17:31
|
Nando wrote: > the first thing to do is to verify you can login at quantlib.org (aka > quantlib.sourceforge.net): > ssh -l andrelouw quantlib.org I did this, still no luck. I then checked sourceforge, you need to log into cvs.sourceforge.net as well. > Then > > export CVS...@cv...:/cvsroot/quantlib > export CVS_RSH=ssh > cvs -z3 co -P QuantLib > > should work > I did this, the cvs update is going now, but it hangs up after checking out QuantLib/ql/functions/mathf.hpp, ring any bells? I've tried this 3 times now, each time at the same place! Any ideas? Andre ------------------------------------------------------------------------- This e-mail is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged, proprietary to the company and protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. Opinions, conclusions and other information in this message that do not relate to the official business of our company shall be understood as neither given nor endorsed by it. |
|
From: Andre L. <An...@de...> - 2002-04-15 10:07:27
|
Hi, I'm trying to connect to CVS via SSH. I get the following error: setenv CVSROOT and...@cv...:/cvsroot/quantlib setenv CVS_RSH ssh cvs -z3 co -P QuantLib and...@cv...'s password: Could not chdir to home directory /home/users/a/an/andrelouw: No such file or directory /usr/bin/X11/xauth: error in locking authority file /home/users/a/an/andrelouw/.Xauthority cvs [server aborted]: can't chdir(/home/users/a/an/andrelouw): No such file or directory Help please! Andre ------------------------------------------------------------------------- This e-mail is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged, proprietary to the company and protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. Opinions, conclusions and other information in this message that do not relate to the official business of our company shall be understood as neither given nor endorsed by it. |
|
From: Dirk E. <ed...@de...> - 2002-04-13 14:40:48
|
forwarded 142200 qua...@li...
forwarded 142430 qua...@li...
forwarded 142431 qua...@li...
tags 142200 + upstream
tags 142430 + upstream
tags 142431 + upstream
quit
Guys
Here are three c++ issues in ql-python and ql-ruby on hppa and ia64. Both
platforms use gcc/g++ 3.0, and both are (IIRC) 64-bit wide.
You can see the details at
http://bugs.debian.org/$NUMBER
eg
http://bugs.debian.org/142200
for the first bug and see the full logs of the automated build daemons at
http://buildd.debian.org/build.php?&pkg=$PACKAGE
eg
http://buildd.debian.org/build.php?&pkg=quantlib-python
I need help in fixing those and could possibly provide shell access on those
systems to a determined volunteer (Hi Luigi :).
Dirk
--
Good judgement comes from experience; experience comes from bad judgement.
-- Fred Brooks
|
|
From: Luigi B. <bal...@ma...> - 2002-04-12 16:19:07
|
At 05:43 PM 4/12/02 +0200, Ferdinando Ametrano wrote:
>>So don't start running it in batches :)
>Smile apart you DID know that the paranoid in me was going to run it as
>periodic batch.
Of course I did.
>The only reason that stopped me so far is how it handle C++ templates.
>Wasn't indent C-oriented?
It can process C++. It formats templates by putting spaces before and after
the < and >. It's not very pretty in my opinion, but it doesn't do utterly
wrong things. So you can be paranoid if you want...
Bye,
Luigi
|
|
From: Ferdinando A. <fer...@am...> - 2002-04-12 15:44:02
|
>So don't start running it in batches :) Smile apart you DID know that the paranoid in me was going to run it as periodic batch. You DID notice the frequent ChangeLog update, didn't you ;-) The only reason that stopped me so far is how it handle C++ templates. Wasn't indent C-oriented? Andre, when/if you have time to find out how to have CVS do the indent job, drop us a line. ciao -- Nando |
|
From: Luigi B. <bal...@ma...> - 2002-04-12 14:50:55
|
At 03:32 PM 4/12/02 +0200, Andre Louw wrote:
>Is there some indent profile available that I can use to
>indent QuantLib stuff that I want to submit to CVS.
Andre: the attached profile should be close enough. But don't bother too much.
Nando: go ahead if you want to put it on the web site, but be aware that
there are things in our guidelines that indent just won't do AFAIK (e.g.,
you can't put the opening brace of a function definition on the same line
as its name).
So don't start running it in batches :)
Bye,
Luigi
|
|
From: Sadruddin R. <sad...@gm...> - 2002-04-12 14:07:01
|
Hi, > PS2 Sad: what about your stuff. As soon as they're in I will branch out 0.3.0 Don't worry Nando, I've promised my changes (added documentation + binomial method applied to stock-option pricing) would be commited by the end of the week (Sunday). Have a nice week-end, Sad -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net |
|
From: Andre L. <An...@de...> - 2002-04-12 13:27:09
|
Hi, My Emacs is setup for 3 spaces indent, plus we use gnu's indent standard on our other projects. Is there some indent profile available that I can use to indent QuantLib stuff that I want to submit to CVS. What I thought of doing was to run indent with my indent.pro after checking out and then running indent with your indent.pro before checking in again. Sounds like a schlepp, but what can yu do.... I know there is a way of automating this on the CVS pserver side, but it's Friday afternoon and I'm tired. Maybe it's allready done, or, we can look at it some other time? Andre ------------------------------------------------------------------------- This e-mail is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged, proprietary to the company and protected by law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. Opinions, conclusions and other information in this message that do not relate to the official business of our company shall be understood as neither given nor endorsed by it. |