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: Young C. <cy...@gm...> - 2007-09-15 08:08:40
|
Hello all, This is Young Cho, I am a college senior majoring Applied Math. I am researching low-discrepancy random number generator in Monte Carlo Method. I am wondering whether somebody is working on Scrambled Low discrepancy sequence with Quantlib. If somebody is doing, how is it going? I will be glad to hear any information about it. Please give me reply, if you are working on it. Thank you very much. Young Cho Department of Applied Mathematics Illinois Insititute of Technology E-mail : cy...@gm... Young Cho Department of Applied Mathematics Illinois Insititute of Technology Phone: (773) 656-7456 E-mail : yc...@ii... or cy...@gm... |
|
From: Eric E. <eri...@na...> - 2007-09-14 12:53:44
|
Hi David, Long time no speak, hope you're well. > I have already read the information at > http://quantlib.org/quantlibaddin/extending.html but found that this > does not answer my questions. > > Is there any information on the AGM over and above that already found at > the above web page? There's some in the pipeline. I'm in the process of revamping the docs for the next release, so I could move the gensrc stuff to the top of the todo list, if you could help with feedback. If that's of interest pls drop me a line directly and I'll try to get a draft to you for Monday. Regards, Eric |
|
From: Luigi B. <lui...@gm...> - 2007-09-14 12:49:24
|
On Fri, 2007-09-14 at 13:18 +0100, Richard Gomes wrote: > Luigi Ballabio wrote: > > On Fri, 2007-09-14 at 10:16 +0200, Ferdinando Ametrano wrote: > >> Hi Luigi > >> > >> the calendar unit test fails after this change. Any idea? > > > > It does? Shame on me. > I've compiled before sending you the file and it seemed OK. In spite I'm > using 0.8.1 and not the trunk, I do not expect any problems. It did compile, but a test was failing (it checked the list of holidays, and there was a new one.) No problem, it's fixed now. Luigi -- I'd never join any club that would have the likes of me as a member. -- Groucho Marx |
|
From: Brown, D. (AFM) <Dav...@ab...> - 2007-09-14 12:24:46
|
Dear Sir/Madam =20 I have been trying to add a new function to Quantlib and export this trough Excel and so I am trying to get to grips with the auto-generation mechanism (AGM). =20 I have already read the information at http://quantlib.org/quantlibaddin/extending.html but found that this does not answer my questions. =20 Is there any information on the AGM over and above that already found at the above web page? =20 Regards, David Brown Emails aren't always secure, and they may be intercepted or changed after t= hey've been sent. Abbey doesn't accept liability if this happens. If you th= ink someone may have interfered with this email, please get in touch with t= he sender another way. This message doesn't create or change any contract. Abbey doesn't accept re= sponsibility for damage caused by any viruses contained in this email or it= s attachments. Emails may be monitored. If you've received this email by mistake, please let the sender know at onc= e that it's gone to the wrong person and then destroy it without copying, u= sing, or telling anyone about its contents. Abbey National plc (ANplc) Reg. No. 2294747, Inscape Investments Limited (I= nscape) Reg. No. 3839455, and Abbey National Treasury Services plc (ANTS) R= eg. No. 2338548 are registered in England and have their Registered Offices= at Abbey National House, 2 Triton Square, Regent's Place, London, NW1 3AN.= Abbey National Asset Managers Limited (ANAM) Reg. No. SC106669. Registered= in Scotland. Registered Office at Abbey National House, 301 St Vincent Str= eet, Glasgow G2 5HN. ANplc, ANTS, Inscape and ANAM are authorised and regulated by the Financial= Services Authority (Reg. No. 106054, 146003, 193172 and 122491 respectivel= y). ANplc advises on mortgages, a limited range of life assurance, pensio= n and collective investment scheme products and acts as an insurance interm= ediary for general insurance. ANTS is a member of the London Stock Exchange. Inscape and ANAM are wholly owned subsidiaries of Santander Asset Managemen= t UK Holdings Limited. Reg. No. 617484. Registered in England. Registered = Office at Abbey National House, 2 Triton Square, Regent's Place, London, NW= 1 3AN. Abbey, Inscape, Santander and the flame logo are registered trademarks. |
|
From: Richard G. <rgo...@ya...> - 2007-09-14 12:19:18
|
Luigi Ballabio wrote: > On Fri, 2007-09-14 at 10:16 +0200, Ferdinando Ametrano wrote: >> Hi Luigi >> >> the calendar unit test fails after this change. Any idea? > > It does? Shame on me. > > There's one new holiday. I've added it to the test now. > > Luigi > > Hi Luigi, I've compiled before sending you the file and it seemed OK. In spite I'm using 0.8.1 and not the trunk, I do not expect any problems. Next time I will send you a patch instead. Let me know if you need any help. Kind Regards |
|
From: Luigi B. <lui...@gm...> - 2007-09-14 09:43:27
|
On Fri, 2007-09-14 at 10:16 +0200, Ferdinando Ametrano wrote: > Hi Luigi > > the calendar unit test fails after this change. Any idea? It does? Shame on me. There's one new holiday. I've added it to the test now. Luigi -- Discontent is the first necessity of progress. -- Thomas A. Edison |
|
From: Ferdinando A. <na...@am...> - 2007-09-14 08:16:38
|
Hi Luigi the calendar unit test fails after this change. Any idea? ciao -- Nando On 9/12/07, lba...@us... <lba...@us...> wrote: > Revision: 12585 > http://quantlib.svn.sourceforge.net/quantlib/?rev=12585&view=rev > Author: lballabio > Date: 2007-09-12 06:01:11 -0700 (Wed, 12 Sep 2007) > > Log Message: > ----------- > Added Brazilian exchange calendar (thanks to Richard Gomes) > > Modified Paths: > -------------- > trunk/QuantLib/ql/time/calendars/brazil.cpp > trunk/QuantLib/ql/time/calendars/brazil.hpp > trunk/QuantLib-SWIG/SWIG/calendars.i > > Modified: trunk/QuantLib/ql/time/calendars/brazil.cpp > =================================================================== > --- trunk/QuantLib/ql/time/calendars/brazil.cpp 2007-09-12 12:40:43 UTC (rev 12584) > +++ trunk/QuantLib/ql/time/calendars/brazil.cpp 2007-09-12 13:01:11 UTC (rev 12585) > @@ -2,6 +2,7 @@ > > /* > Copyright (C) 2005, 2006 Piter Dias > + Copyright (C) 2007 Richard Gomes > > This file is part of QuantLib, a free-software/open-source library > for financial quantitative analysts and developers - http://quantlib.org/ > @@ -26,11 +27,16 @@ > // all calendar instances on the same market share the same > // implementation instance > static boost::shared_ptr<Calendar::Impl> settlementImpl( > - new Brazil::SettlementImpl); > + new Brazil::SettlementImpl); > + static boost::shared_ptr<Calendar::Impl> exchangeImpl( > + new Brazil::ExchangeImpl); > switch (market) { > case Settlement: > impl_ = settlementImpl; > break; > + case Exchange: > + impl_ = exchangeImpl; > + break; > default: > QL_FAIL("unknown market"); > } > @@ -55,10 +61,12 @@ > || (d == 7 && m == September) > // Nossa Sra. Aparecida Day > || (d == 12 && m == October) > - // Dead Day > + // All Souls Day > || (d == 2 && m == November) > // Republic Day > || (d == 15 && m == November) > + // Black Consciousness Day > + || (d == 20 && m == November && y >= 2004) > // Christmas > || (d == 25 && m == December) > // Passion of Christ > @@ -72,5 +80,47 @@ > return true; > } > > + bool Brazil::ExchangeImpl::isBusinessDay(const Date& date) const { > + Weekday w = date.weekday(); > + Day d = date.dayOfMonth(); > + Month m = date.month(); > + Year y = date.year(); > + Day dd = date.dayOfYear(); > + Day em = easterMonday(y); > + > + if (isWeekend(w) > + // New Year's Day > + || (d == 1 && m == January) > + // Sao Paulo City Day > + || (d == 25 && m == January) > + // Tiradentes Day > + || (d == 21 && m == April) > + // Labor Day > + || (d == 1 && m == May) > + // Revolution Day > + || (d == 9 && m == July) > + // Independence Day > + || (d == 7 && m == September) > + // Nossa Sra. Aparecida Day > + || (d == 12 && m == October) > + // All Souls Day > + || (d == 2 && m == November) > + // Republic Day > + || (d == 15 && m == November) > + // Black Consciousness Day > + || (d == 20 && m == November && y >= 2004) > + // Christmas > + || (d == 25 && m == December) > + // Passion of Christ > + || (dd == em-3) > + // Carnival > + || (dd == em-49 || dd == em-48) > + // Corpus Christi > + || (dd == em+59) > + ) > + return false; > + return true; > + } > + > } > > > Modified: trunk/QuantLib/ql/time/calendars/brazil.hpp > =================================================================== > --- trunk/QuantLib/ql/time/calendars/brazil.hpp 2007-09-12 12:40:43 UTC (rev 12584) > +++ trunk/QuantLib/ql/time/calendars/brazil.hpp 2007-09-12 13:01:11 UTC (rev 12585) > @@ -2,6 +2,7 @@ > > /* > Copyright (C) 2005, 2006 Piter Dias > + Copyright (C) 2007 Richard Gomes > > This file is part of QuantLib, a free-software/open-source library > for financial quantitative analysts and developers - http://quantlib.org/ > @@ -38,14 +39,35 @@ > <li>Labour Day, May 1st</li> > <li>Independence Day, September 21th</li> > <li>Nossa Sra. Aparecida Day, October 12th</li> > - <li>Dead Day, October 2nd</li> > + <li>All Souls Day, November 2nd</li> > <li>Republic Day, November 15th</li> > + <li>Black Consciousness Day, November 20th (since 2004)</li> > <li>Christmas, December 25th</li> > <li>Passion of Christ</li> > <li>Carnival</li> > <li>Corpus Christi</li> > </ul> > > + Holidays for the stock exchange > + <ul> > + <li>Saturdays</li> > + <li>Sundays</li> > + <li>New Year's Day, January 1st</li> > + <li>Sao Paulo City Day, January 25th</li> > + <li>Tiradentes's Day, April 21th</li> > + <li>Labour Day, May 1st</li> > + <li>Revolution Day, July 9th</li> > + <li>Independence Day, September 21th</li> > + <li>Nossa Sra. Aparecida Day, October 12th</li> > + <li>All Souls Day, November 2nd</li> > + <li>Republic Day, November 15th</li> > + <li>Black Consciousness Day, November 20th (since 2004)</li> > + <li>Christmas, December 25th</li> > + <li>Passion of Christ</li> > + <li>Carnival</li> > + <li>Corpus Christi</li> > + </ul> > + > \ingroup calendars > > \test the correctness of the returned results is tested > @@ -58,9 +80,15 @@ > std::string name() const { return "Brazil"; } > bool isBusinessDay(const Date&) const; > }; > + class ExchangeImpl : public Calendar::WesternImpl { > + public: > + std::string name() const { return "BOVESPA"; } > + bool isBusinessDay(const Date&) const; > + }; > public: > //! Brazilian calendars > - enum Market { Settlement //!< generic settlement calendar > + enum Market { Settlement, //!< generic settlement calendar > + Exchange //!< BOVESPA calendar > }; > Brazil(Market market = Settlement); > }; > @@ -69,3 +97,4 @@ > > > #endif > + > > Modified: trunk/QuantLib-SWIG/SWIG/calendars.i > =================================================================== > --- trunk/QuantLib-SWIG/SWIG/calendars.i 2007-09-12 12:40:43 UTC (rev 12584) > +++ trunk/QuantLib-SWIG/SWIG/calendars.i 2007-09-12 13:01:11 UTC (rev 12585) > @@ -134,7 +134,7 @@ > > class Brazil : public Calendar { > public: > - enum Market { Settlement }; > + enum Market { Settlement, Exchange }; > Brazil(Market m = Settlement); > }; > > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > QuantLib-cvs mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-cvs > |
|
From: Luigi B. <lui...@gm...> - 2007-09-12 13:02:10
|
On Mon, 2007-09-10 at 22:08 +0100, Richard Gomes wrote: > Find attached > brazil.hpp > brazil.cpp > calendars.i Ok, I applied the patch. Thanks, Luigi -- A debugged program is one for which you have not yet found the conditions that make it fail. -- Jerry Ogdin |
|
From: Luigi B. <lui...@gm...> - 2007-09-12 10:55:16
|
On Mon, 2007-09-10 at 22:19 +0100, Richard Gomes wrote: > Find attached the example EquityOptions translated to Java. And on Sat, 2007-09-08 at 16:01 -0700, Tito Ingargiola wrote: > I include below a mostly complete java version of the > EquityOption program. Richard, Tito, thank you both. I've merged your examples and added the resulting file to the repository. It will be included in next release. Luigi -- Use every man after his desert, and who shall scape whipping? -- Hamlet, Act II, scene II |
|
From: Richard G. <rgo...@ya...> - 2007-09-11 04:23:24
|
Hi Luigi, I dont know why, but the posts I've done yesterday didn't show in the newsgroup. Find attached brazil.hpp brazil.cpp calendars.i Thanks -- Richard Gomes |
|
From: Richard G. <rgo...@ya...> - 2007-09-11 04:15:45
|
Luigi Find attached the example EquityOptions translated to Java. I've made several changes in options.i in order to: 1. Support CamelCaseNamesForTemplates, like CoxRossRubinstein, for instance. 2. Expose FDBermudan Notice that, in the end of EquityOptions.java there's still some code not translate. This is due to a missing .i file which options.i is dependent on. Thanks Tito Ingargiola for the help you provided and your work on options.i Kind Regards -- Richard Gomes |
|
From: SourceForge.net <no...@so...> - 2007-09-10 15:31:03
|
Feature Requests item #1776593, was opened at 2007-08-17 23:20 Message generated for change (Settings changed) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=1776593&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Open Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Nobody/Anonymous (nobody) Summary: No Vega or Rho under American Option Pricing Engines Initial Comment: I cannot get qlVega or qlRho to calculate Vega and Rho for an American option. I have used all of the pricing engines (CRR, JOSHI, etc.) and none work. However, the European and Asian option pricing engines work with qlVega and qlRho. If anyone can fix this, please keep me posted. I am using it in QuantLibXL in Excel 2003. Matt Slezak noc...@ya... ---------------------------------------------------------------------- Comment By: Eric Ehlers (ericehlers) Date: 2007-09-07 22:29 Message: Logged In: YES user_id=1143221 Originator: NO Hi Matt, Unfortunately I'm not aware of plans to add the requested functionality (nor the feasibility thereof). Contributions are welcome. If you have a copy of the source code you can at least identify which pricing engines support vega/rho by searching for those terms in *.cpp files in directory ql/pricingengines and its subdirectories. Regards, Eric ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=1776593&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2007-09-10 15:08:40
|
Bugs item #1791654, was opened at 2007-09-10 08:08 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=1791654&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: autogen.sh error: possibly undefined macro: AC_PROG_LIBTOOL Initial Comment: All, Downloaded quantlib 0.8.1 and get everything (examples and test-suited) compiled and run. But I could not get autogen.sh work, here is the complete error message: $ ./autogen.sh configure.ac:63: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /ms/user/w/wguo/autoconf-2.61/bin/autoconf failed with exit status: 1 Run the command ./configure --help for information on options that can change the behavior of the library. The relevant information, automake(1.9.6)/autoconf(2.61)/libtool(1.5.22) as shown here: $ automake --version automake (GNU automake) 1.9.6 $ autoconf --version autoconf (GNU Autoconf) 2.61 $ libtool --version ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) Anything I may miss? Thanks a lot in advance! - Winston win...@mo... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1791654&group_id=12740 |
|
From: Roger T. <rog...@ii...> - 2007-09-10 08:30:14
|
Hi All,
I am new to this area of study. I am wondering is there any problems =
in quantitative finance that need the design of efficient and parallel =
algorithms especially in the area of derivative pricing?
Cheers |
|
From: Mark j. <mar...@gm...> - 2007-09-08 08:48:53
|
the problem is that it crashes on opening the solution. Personally, I love intellisense. Mark On 08/09/2007, Eric Ehlers <eri...@na...> wrote: > Hi Mark, > > > On 22/08/07, Luigi Ballabio <lui...@gm...> wrote: > >> On Wed, 2007-08-22 at 10:58 +1000, Mark joshi wrote: > >> > OK I just tried this, with Visual Studio 8.0 express it crashes. This > >> > is just after doing an update from subversion. > >> > >> Mark, > >> could it be the Intellisense problem mentioned on the list in > >> the past > >> few days? > > > I switched off statement completion and parameter listing under tools, > > options, and it didn't > > crash. So it probably is intellisense. > > Glad to hear that disabling Intellisense fixed the problem. I keep > Intellisense disabled because of problems with stability and performance. > (I think I recently overheard someone say that a patch was released but I > haven't looked into it.) > > Still if a clean build crashes that's probably a problem with QuantLibXL > rather than Intellisense. In my experience, problems of this type can > arise when a source file is referenced by the solution but absent from > disk, or vice versa. I just looked for a discrepancy and didn't find > anything. I don't have VC8 Express installed at the moment but will try > to fix this for the next release. > > regards, > Eric > > -- Assoc Prof Mark Joshi Centre for Actuarial Studies University of Melbourne My website is www.markjoshi.com |
|
From: Eric E. <eri...@na...> - 2007-09-07 20:57:13
|
Hi Mark, > On 22/08/07, Luigi Ballabio <lui...@gm...> wrote: >> On Wed, 2007-08-22 at 10:58 +1000, Mark joshi wrote: >> > OK I just tried this, with Visual Studio 8.0 express it crashes. This >> > is just after doing an update from subversion. >> >> Mark, >> could it be the Intellisense problem mentioned on the list in >> the past >> few days? > I switched off statement completion and parameter listing under tools, > options, and it didn't > crash. So it probably is intellisense. Glad to hear that disabling Intellisense fixed the problem. I keep Intellisense disabled because of problems with stability and performance. (I think I recently overheard someone say that a patch was released but I haven't looked into it.) Still if a clean build crashes that's probably a problem with QuantLibXL rather than Intellisense. In my experience, problems of this type can arise when a source file is referenced by the solution but absent from disk, or vice versa. I just looked for a discrepancy and didn't find anything. I don't have VC8 Express installed at the moment but will try to fix this for the next release. regards, Eric |
|
From: SourceForge.net <no...@so...> - 2007-09-07 20:29:12
|
Feature Requests item #1776593, was opened at 2007-08-17 23:20 Message generated for change (Comment added) made by ericehlers You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=1776593&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Eric Ehlers (ericehlers) Summary: No Vega or Rho under American Option Pricing Engines Initial Comment: I cannot get qlVega or qlRho to calculate Vega and Rho for an American option. I have used all of the pricing engines (CRR, JOSHI, etc.) and none work. However, the European and Asian option pricing engines work with qlVega and qlRho. If anyone can fix this, please keep me posted. I am using it in QuantLibXL in Excel 2003. Matt Slezak noc...@ya... ---------------------------------------------------------------------- >Comment By: Eric Ehlers (ericehlers) Date: 2007-09-07 22:29 Message: Logged In: YES user_id=1143221 Originator: NO Hi Matt, Unfortunately I'm not aware of plans to add the requested functionality (nor the feasibility thereof). Contributions are welcome. If you have a copy of the source code you can at least identify which pricing engines support vega/rho by searching for those terms in *.cpp files in directory ql/pricingengines and its subdirectories. Regards, Eric ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=1776593&group_id=12740 |
|
From: Luigi B. <lui...@gm...> - 2007-09-07 08:53:27
|
On Fri, 2007-09-07 at 10:44 +0200, Ferdinando Ametrano wrote: > > Any particular reason to separate the enumeration from where the > > duration calculation is implemented? > > I'm trying to use forward declaration in order to avoid early hpp > inclusion. The point is that when Duration::Type is included in any > input parameters list you need to import its definition even if you > don't need all the rest of ql/cashflows/cashflows.hpp Yes, but where is Duration::Type used other than for passing it to the functions in cashflows.hpp? Luigi -- Quote me as saying I was misquoted. -- Groucho Marx |
|
From: Ferdinando A. <na...@am...> - 2007-09-07 08:44:15
|
Hi Luigi > Any particular reason to separate the enumeration from where the > duration calculation is implemented? I'm trying to use forward declaration in order to avoid early hpp inclusion. The point is that when Duration::Type is included in any input parameters list you need to import its definition even if you don't need all the rest of ql/cashflows/cashflows.hpp The same has been done for most enumerative types (BusinessDayConvention, Time Unit, etc) ciao -- Nando |
|
From: Luigi B. <lui...@gm...> - 2007-09-07 07:00:46
|
On Thu, 2007-09-06 at 07:53 -0700, na...@us... wrote: > Revision: 12538 > http://quantlib.svn.sourceforge.net/quantlib/?rev=12538&view=rev > Author: nando > Date: 2007-09-06 07:53:16 -0700 (Thu, 06 Sep 2007) > > Log Message: > ----------- > moved Duration::Type enumeration in its own file. std::ostream& > operator<< to be implemented Any particular reason to separate the enumeration from where the duration calculation is implemented? Luigi -- A child of five would understand this. Send someone to fetch a child of five. -- Groucho Marx |
|
From: Richard G. <rgo...@ya...> - 2007-09-06 16:57:49
|
Tito Ingargiola wrote:
>
> Hi,
>
> I've been playing with QuantLib for the last month or so and have more
> or less fallen in love. In c++, everything I've tried works pretty
> much as expected.
>
> Unfortunately, I have an extensive gui written in java and when I try
> to bridge into QuantLib via the SWIG interfaces I've run into endless
> difficulties. Given the lack of traffic on this list for java users
> except the odd "I tried but it didn't work..." post, I wonder if
> anyone is actually using the SWIG interfaces for java integration? If
> so, could anyone kindly point me to a non trivial example of java
> accessing QuantLib functionality? The sample provided with the swig
> extension is laughably simple and doesn't demonstrate any kind of
> parameter passing.
>
> I'm frustrated at this point as things which are simple to do in c++
> just don't work via the swig interfaces and I'm getting close to
> dumping the swig interfaces and writing my own JNI interfaces for the
> relatively limited areas of functionality I'm interested in, but I'd
> prefer not to do this if a reasonable alternative exists.
>
> In order to illustrate the kinds of difficulties I'm running into, I
> enclose below a simple sample program based on
> Quantlib/Examples/EquityOption which uses the SWIG interfaces and
> compiles fine but will crash in several different places when run.
> Even such a simple thing as Dates don't seem to work. That is:
>
>
> Date goodDate = Date.todaysDate(); // ok
> goodDate.add(17); // ok
> // boom when date is referenced
> Date badDate = new Date( 1, Month.October, 2007);
>
> I have similar experiences with simple objects like quotes or
> handles... which is why I question that anyone is actually using these
> things.
>
> Any insights, pointers or suggestions will be very much appreciated!
> Thanks and regards,
>
> Tito.
>
> --- the java program I mentioned follows ---
>
>
>
>
> package test;
>
> import org.quantlib.Actual365Fixed;
> import org.quantlib.AmericanExercise;
> import org.quantlib.BaroneAdesiWhaleyEngine;
> import org.quantlib.BlackConstantVol;
> import org.quantlib.BlackScholesMertonProcess;
> import org.quantlib.BlackVolTermStructureHandle;
> import org.quantlib.Date;
> import org.quantlib.DayCounter;
> import org.quantlib.FlatForward;
> import org.quantlib.Month;
> import org.quantlib.Option;
> import org.quantlib.Payoff;
> import org.quantlib.PlainVanillaPayoff;
> import org.quantlib.QuoteHandle;
> import org.quantlib.SimpleQuote;
> import org.quantlib.StochasticProcess;
> import org.quantlib.VanillaOption;
> import org.quantlib.YieldTermStructureHandle;
>
> /**
> * Test app - simplified version of QuantLib/Examples/EquityOption to test
> * use of Quantlib through supplied SWIG interface...
> *
> * @author Tito Ingargiola
> */
> public class EquityOption {
> static {
> /* You need to run this thing with something like:
> * -Djava.library.path=/usr/local/lib
> */
> System.loadLibrary("QuantLib-0.8.1");
> System.loadLibrary("QuantLibJNI");
> }
>
> public static void main(String[] args) throws Exception {
> System.out.println("starting...");
> //QuantLib ql = new QuantLib();
> //Thread.sleep(500);
>
> Option.Type type = Option.Type.Put;
> double strike = 14.7;
> double underlying = 14.76;
> double riskFreeRate = 0.055;
> double divYield = riskFreeRate; // for futures
> double volatility = .22;
> System.out.println("creating dates...");
> Date settle = Date.todaysDate(); // Explicitly setting date
> Date expiry = Date.todaysDate().add(13);// causes crash...on
> use(?)
> Date expiry2 = new Date( 20, Month.September, 2007 ); // e.g.
> System.out.println(settle+" -> "+expiry);
>
> AmericanExercise exercise = new AmericanExercise(settle,
> expiry,true);
> // using the below will cause crash
> // AmericanExercise exercise2 = new AmericanExercise(settle,
> expiry2,true);
>
> // this is fine ... unless you use it...
> DayCounter dayc = new Actual365Fixed();
> // this is fine ... unless you use it...
> SimpleQuote under = new SimpleQuote(underlying);
> // this instead blows up on construction...
> QuoteHandle underh = new QuoteHandle(under);
>
> /// the rest is pie-in-the-sky stuff...
>
> YieldTermStructureHandle flatTS = new YieldTermStructureHandle
> (new FlatForward(settle,riskFreeRate, dayc));
>
> YieldTermStructureHandle flatDivTS = new YieldTermStructureHandle
> (new FlatForward(settle,divYield, dayc));
>
> BlackVolTermStructureHandle flatVolTS = new
> BlackVolTermStructureHandle
> (new BlackConstantVol(settle,volatility,dayc));
>
>
> StochasticProcess stochp = new BlackScholesMertonProcess
> (underh,flatDivTS,flatTS,flatVolTS);
> Payoff payoff = new PlainVanillaPayoff(type, strike) ;
>
> VanillaOption option = new VanillaOption
> (stochp, payoff,exercise);
>
> option.setPricingEngine(new BaroneAdesiWhaleyEngine());
>
> System.out.println("Option: \t"+option);
> System.out.println("NPV: \t"+option.NPV());
>
> System.out.println("\ndone.");
>
> }
> }
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-dev mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Hi Tito,
I have a lot of code in Java as well and I'd like to plug QuantLib in.
It's incredible how you and me are facing the same problems, following
the same path and started translating the same example! :D When I
looked at you Java code it was quite similar to mine (of course... you
also translated the example in C++).
Oh well...
I dont think that writing your own JNI is a good idea.
It's a huge, boring and error prone task. I'd rely on SWIG instead.
It'd be much easier to learn how to hack the intrincacies of SWIG.
It would be great if we were able to convert comments from C++ code to
JavaDOC as well, as Eclipse would be able to show documentation as you type.
Another thing to be considered is performance.
I tried to use Matrix and it does not make sense to initialize every
cell at a time. The performance will be poor. It means that we should
create additional methods intended to be called by another languages due
to poor performance of separated calls.
I've posted one thread quite similiar to yours and Luigi gave me some
directions. In case, I've use Matrix as an example of issues I've found.
I'm planning to work on SWIG this weekend. Maybe we could work together
on this kind of thing.
Kind Regards
-- Richard Gomes
|
|
From: Tito I. <tit...@ya...> - 2007-09-06 14:00:27
|
My apologies - I realize I've sent this to the wrong list! I'll send to the users list - sorry for the disturbance...
Tito Ingargiola <tit...@ya...> wrote:
Hi,
I've been playing with QuantLib for the last month or so and have more
or less fallen in love. In c++, everything I've tried works pretty
much as expected.
Unfortunately, I have an extensive gui written in java and when I try
to bridge into QuantLib via the SWIG interfaces I've run into endless
difficulties. Given the lack of traffic on this list for java users
except the odd "I tried but it didn't work..." post, I wonder if
anyone is actually using the SWIG interfaces for java integration? If
so, could anyone kindly point me to a non trivial example of java
accessing QuantLib functionality? The sample provided with the swig
extension is laughably simple and doesn't demonstrate any kind of
parameter passing.
I'm frustrated at this point as things which are simple to do in c++
just don't work via the swig interfaces and I'm getting close to
dumping the swig interfaces and writing my own JNI interfaces for the
relatively limited areas of functionality I'm interested in, but I'd
prefer not to do this if a reasonable alternative exists.
In order to illustrate the kinds of difficulties I'm running into, I
enclose below a simple sample program based on
Quantlib/Examples/EquityOption which uses the SWIG interfaces and
compiles fine but will crash in several different places when run.
Even such a simple thing as Dates don't seem to work. That is:
Date goodDate = Date.todaysDate(); // ok
goodDate.add(17); // ok
// boom when date is referenced
Date badDate = new Date( 1, Month.October, 2007);
I have similar experiences with simple objects like quotes or
handles... which is why I question that anyone is actually using these
things.
Any insights, pointers or suggestions will be very much appreciated!
Thanks and regards,
Tito.
--- the java program I mentioned follows ---
package test;
import org.quantlib.Actual365Fixed;
import org.quantlib.AmericanExercise;
import org.quantlib.BaroneAdesiWhaleyEngine;
import org.quantlib.BlackConstantVol;
import org.quantlib.BlackScholesMertonProcess;
import org.quantlib.BlackVolTermStructureHandle;
import org.quantlib.Date;
import org.quantlib.DayCounter;
import org.quantlib.FlatForward;
import org.quantlib.Month;
import org.quantlib.Option;
import org.quantlib.Payoff;
import org.quantlib.PlainVanillaPayoff;
import org.quantlib.QuoteHandle;
import org.quantlib.SimpleQuote;
import org.quantlib.StochasticProcess;
import org.quantlib.VanillaOption;
import org.quantlib.YieldTermStructureHandle;
/**
* Test app - simplified version of QuantLib/Examples/EquityOption to test
* use of Quantlib through supplied SWIG interface...
*
* @author Tito Ingargiola
*/
public class EquityOption {
static {
/* You need to run this thing with something like:
* -Djava.library.path=/usr/local/lib
*/
System.loadLibrary("QuantLib-0.8.1");
System.loadLibrary("QuantLibJNI");
}
public static void main(String[] args) throws Exception {
System.out.println("starting...");
//QuantLib ql = new QuantLib();
//Thread.sleep(500);
Option.Type type = Option.Type.Put;
double strike = 14.7;
double underlying = 14.76;
double riskFreeRate = 0.055;
double divYield = riskFreeRate; // for futures
double volatility = .22;
System.out.println("creating dates...");
Date settle = Date.todaysDate(); // Explicitly setting date
Date expiry = Date.todaysDate().add(13);// causes crash...on use(?)
Date expiry2 = new Date( 20, Month.September, 2007 ); // e.g.
System.out.println(settle+" -> "+expiry);
AmericanExercise exercise = new AmericanExercise(settle, expiry,true);
// using the below will cause crash
// AmericanExercise exercise2 = new AmericanExercise(settle, expiry2,true);
// this is fine ... unless you use it...
DayCounter dayc = new Actual365Fixed();
// this is fine ... unless you use it...
SimpleQuote under = new SimpleQuote(underlying);
// this instead blows up on construction...
QuoteHandle underh = new QuoteHandle(under);
/// the rest is pie-in-the-sky stuff...
YieldTermStructureHandle flatTS = new YieldTermStructureHandle
(new FlatForward(settle,riskFreeRate, dayc));
YieldTermStructureHandle flatDivTS = new YieldTermStructureHandle
(new FlatForward(settle,divYield, dayc));
BlackVolTermStructureHandle flatVolTS = new BlackVolTermStructureHandle
(new BlackConstantVol(settle,volatility,dayc));
StochasticProcess stochp = new BlackScholesMertonProcess
(underh,flatDivTS,flatTS,flatVolTS);
Payoff payoff = new PlainVanillaPayoff(type, strike) ;
VanillaOption option = new VanillaOption
(stochp, payoff,exercise);
option.setPricingEngine(new BaroneAdesiWhaleyEngine());
System.out.println("Option: \t"+option);
System.out.println("NPV: \t"+option.NPV());
System.out.println("\ndone.");
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________
QuantLib-dev mailing list
Qua...@li...
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
|
|
From: Tito I. <tit...@ya...> - 2007-09-06 13:56:05
|
Hi,
I've been playing with QuantLib for the last month or so and have more
or less fallen in love. In c++, everything I've tried works pretty
much as expected.
Unfortunately, I have an extensive gui written in java and when I try
to bridge into QuantLib via the SWIG interfaces I've run into endless
difficulties. Given the lack of traffic on this list for java users
except the odd "I tried but it didn't work..." post, I wonder if
anyone is actually using the SWIG interfaces for java integration? If
so, could anyone kindly point me to a non trivial example of java
accessing QuantLib functionality? The sample provided with the swig
extension is laughably simple and doesn't demonstrate any kind of
parameter passing.
I'm frustrated at this point as things which are simple to do in c++
just don't work via the swig interfaces and I'm getting close to
dumping the swig interfaces and writing my own JNI interfaces for the
relatively limited areas of functionality I'm interested in, but I'd
prefer not to do this if a reasonable alternative exists.
In order to illustrate the kinds of difficulties I'm running into, I
enclose below a simple sample program based on
Quantlib/Examples/EquityOption which uses the SWIG interfaces and
compiles fine but will crash in several different places when run.
Even such a simple thing as Dates don't seem to work. That is:
Date goodDate = Date.todaysDate(); // ok
goodDate.add(17); // ok
// boom when date is referenced
Date badDate = new Date( 1, Month.October, 2007);
I have similar experiences with simple objects like quotes or
handles... which is why I question that anyone is actually using these
things.
Any insights, pointers or suggestions will be very much appreciated!
Thanks and regards,
Tito.
--- the java program I mentioned follows ---
package test;
import org.quantlib.Actual365Fixed;
import org.quantlib.AmericanExercise;
import org.quantlib.BaroneAdesiWhaleyEngine;
import org.quantlib.BlackConstantVol;
import org.quantlib.BlackScholesMertonProcess;
import org.quantlib.BlackVolTermStructureHandle;
import org.quantlib.Date;
import org.quantlib.DayCounter;
import org.quantlib.FlatForward;
import org.quantlib.Month;
import org.quantlib.Option;
import org.quantlib.Payoff;
import org.quantlib.PlainVanillaPayoff;
import org.quantlib.QuoteHandle;
import org.quantlib.SimpleQuote;
import org.quantlib.StochasticProcess;
import org.quantlib.VanillaOption;
import org.quantlib.YieldTermStructureHandle;
/**
* Test app - simplified version of QuantLib/Examples/EquityOption to test
* use of Quantlib through supplied SWIG interface...
*
* @author Tito Ingargiola
*/
public class EquityOption {
static {
/* You need to run this thing with something like:
* -Djava.library.path=/usr/local/lib
*/
System.loadLibrary("QuantLib-0.8.1");
System.loadLibrary("QuantLibJNI");
}
public static void main(String[] args) throws Exception {
System.out.println("starting...");
//QuantLib ql = new QuantLib();
//Thread.sleep(500);
Option.Type type = Option.Type.Put;
double strike = 14.7;
double underlying = 14.76;
double riskFreeRate = 0.055;
double divYield = riskFreeRate; // for futures
double volatility = .22;
System.out.println("creating dates...");
Date settle = Date.todaysDate(); // Explicitly setting date
Date expiry = Date.todaysDate().add(13);// causes crash...on use(?)
Date expiry2 = new Date( 20, Month.September, 2007 ); // e.g.
System.out.println(settle+" -> "+expiry);
AmericanExercise exercise = new AmericanExercise(settle, expiry,true);
// using the below will cause crash
// AmericanExercise exercise2 = new AmericanExercise(settle, expiry2,true);
// this is fine ... unless you use it...
DayCounter dayc = new Actual365Fixed();
// this is fine ... unless you use it...
SimpleQuote under = new SimpleQuote(underlying);
// this instead blows up on construction...
QuoteHandle underh = new QuoteHandle(under);
/// the rest is pie-in-the-sky stuff...
YieldTermStructureHandle flatTS = new YieldTermStructureHandle
(new FlatForward(settle,riskFreeRate, dayc));
YieldTermStructureHandle flatDivTS = new YieldTermStructureHandle
(new FlatForward(settle,divYield, dayc));
BlackVolTermStructureHandle flatVolTS = new BlackVolTermStructureHandle
(new BlackConstantVol(settle,volatility,dayc));
StochasticProcess stochp = new BlackScholesMertonProcess
(underh,flatDivTS,flatTS,flatVolTS);
Payoff payoff = new PlainVanillaPayoff(type, strike) ;
VanillaOption option = new VanillaOption
(stochp, payoff,exercise);
option.setPricingEngine(new BaroneAdesiWhaleyEngine());
System.out.println("Option: \t"+option);
System.out.println("NPV: \t"+option.NPV());
System.out.println("\ndone.");
}
}
|
|
From: Luigi B. <lui...@gm...> - 2007-09-05 14:41:10
|
Hi François,
On Wed, 2007-09-05 at 16:12 +0200, DU VIGNAUD DE VILLEFORT FRANCOIS
GASAPRD PHI wrote:
> A quick question about the DerivedQuote class design: The operation
> performed by this class is a template parameter yet the actual
> operation is actually known only at run time.
No, it is usually known at compile-time. The current implementation of
value() calls operator() on the passed UnaryFunction instance, whose
type is usually known (we're taking a copy of it, so there's no
polymorphic behavior) and whose code can be inlined. The cases in which
this is not possible is just when UnaryFunction is a function pointer
(in the C style.)
> What about using a more informative template so that the operation
> can be known at compilation time and inlined ? (we would loose the
> possibility to change the operation at run time but who cares ?).
>
> To be as explicit as possible, the DerivedQuote value method would be
> written like this:
>
> template <class UnaryFunction>
>
> inline Real DerivedQuote<UnaryFunction>::value() const {
>
> QL_ENSURE(isValid(), "invalid DerivedQuote");
>
> return UnaryFunction::eval(element_->value());
>
> }
You mean, eval() should be a static method of the UnaryFunction class?
Unfortunately, this would mean that:
a) you can't use existing functions (which have no methods at all) or
function objects (which define operator() instead) unless you adapt
them;
b) you can't use function objects that hold non-static data
members---not even by adapting them.
Luigi
--
For every problem there is one solution which is simple, neat, and
wrong.
-- H. L. Mencken
|
|
From: DU V. DE V. F. G. P. <fra...@ca...> - 2007-09-05 14:12:38
|
Hi all,
=20
A quick question about the DerivedQuote class design: The operation =
performed by this class is a template parameter yet the actual operation =
is actually known only at run time. What about using a more informative =
template so that the operation can be known at compilation time and =
inlined ? (we would loose the possibility to change the operation at run =
time but who cares ?).=20
To be as explicit as possible, the DerivedQuote value method would be =
written like this:
=20
template <class UnaryFunction>
inline Real DerivedQuote<UnaryFunction>::value() const {
QL_ENSURE(isValid(), "invalid DerivedQuote");
return UnaryFunction::eval(element_->value());
}
=20
Fran=E7ois
=20
|