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: SourceForge.net <no...@so...> - 2005-12-30 09:51:02
|
Bugs item #1392393, was opened at 2005-12-29 01:37 Message generated for change (Comment added) made by ericehlers You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1392393&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 Submitted By: Lars Schouw (schouwla) Assigned to: Nobody/Anonymous (nobody) Summary: Excel add-in does not remove functions when un-loaded Initial Comment: The add-in source code need to handle the xlAutoClose callback. Regards Lars Schouw ---------------------------------------------------------------------- Comment By: Eric Ehlers (ericehlers) Date: 2005-12-30 10:51 Message: Logged In: YES user_id=1143221 In theory you'd implement xlAutoClose calling xlfUnregister for each XLL function, however xlfUnregister is broken so in practice Excel provides no mechanism to unregister functions. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1392393&group_id=12740 |
|
From: eric e. <eri...@gm...> - 2005-12-29 09:44:51
|
Hi Lars, > The add-in source code need to handle the xlAutoClose > callback. In theory you would implement the xlAutoClose function and there call xlfUnregister for each of an XLL's functions. However xlfUnregister is broken so in practice Excel provides no mechanism to unregister functions. The only reason to implement xlAutoClose would be if there were other resources that needed to be released which is not the case for QuantLibAddin. Regards, Eric |
|
From: Lars S. <sch...@ya...> - 2005-12-29 00:39:35
|
The add-in source code need to handle the xlAutoClose callback. added to the bug reporting tool http://sourceforge.net/tracker/index.php?func=detail&aid=1392393&group_id=12740&atid=112740 Regards Lars --------------------------------- Yahoo! for Good - Make a difference this year. |
|
From: SourceForge.net <no...@so...> - 2005-12-29 00:37:54
|
Bugs item #979504, was opened at 2004-06-25 15:23 Message generated for change (Comment added) made by schouwla You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=979504&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 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: G2 gives wrong result. Initial Comment: I was trying to use the newest CVS version of the G2++ model and I realized that the ATM and OTM values of the bermudan swaption example look much lower than for the HW and BK models. Actually, in my opinion for a 2 factor model the results should be more accurate than for 1 factor. So I guess there might be still a little bug? ---------------------------------------------------------------------- Comment By: Lars Schouw (schouwla) Date: 2005-12-29 09:37 Message: Logged In: YES user_id=451604 Works not please but this bug to resolved. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=979504&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2005-12-29 00:37:21
|
Bugs item #1392393, was opened at 2005-12-29 09:37 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=1392393&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 Submitted By: Lars Schouw (schouwla) Assigned to: Nobody/Anonymous (nobody) Summary: Excel add-in does not remove functions when un-loaded Initial Comment: The add-in source code need to handle the xlAutoClose callback. Regards Lars Schouw ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1392393&group_id=12740 |
|
From: eric e. <eri...@gm...> - 2005-12-23 19:28:01
|
Hi Marco, > I've used QuantLibAddin to build a couple of spreadsheet for training > purposes. > I've added a handful of functions: Fantastic. > Should I commit these additions? That would be much appreciated. I've just completed a large batch of enhancements to the srcgen script so unfortunately your code will probably need some updates to bring it in line with CVS. > of day counters. Is it possible, in the framework of QuantLibAddin, to us= e > these > as functions without having to export the Calendar/Day counter constructo= r? > If so, how do you do that? In a metadata file having headerOnly=3D'true' you define your functions with class Procedure. Then somewhere under qla you implement a wrapper for the QuantLib function. For examples of this please see srcgen/utilities.xml qla/utilites.cpp Regards, Eric |
|
From: Ferdinando A. <na...@am...> - 2005-12-23 19:13:22
|
Hi Joseph On 12/22/05, Joseph Wang <jo...@co...> wrote: > I come across a paper by Haug that argues that the classic > discrete dividend option formula is wrong. which paper are you referring to? I remember something published on Wilmott Magazine, but I don't have access to it right now. as for right/wrong... formulas (and models) in widespread usage are never right or wrong in my book, they are just used properly or improperly. Every trader is used to twist input parameters to obtain reliable results out of less-than-perfect formulas (and models) :-) > One of the implications of the original quantlib algorithm is that an > option that pays out $5 on an underlying spot price of 100 will be > valued differently than an option that pays out 5% on underlying spot > price of $100. this seems perfect to me. it's different if you have an announced official discrete dividend of 5$ or if you have a generic estimated dividend of 5%. > The original quantlib algorithm backward evolves the price curve and if > it encounters a dividend payout of $N, it shifts the price curve by N. > > The new algorithm which matches the results in the analytic formula and > the "classic dividend" formula, first calculates the discounted dividend > payout and then it scales the price curve by a factor of (U+N)/U where U > is the price of the underlying. The classic analityc formula you are referring to only handles 5% dividend, finite differences can handle both 5% and 5$. The key point in both cases is which vol a trader will use. I personally would love FD to handle both percentage and absolute dividends. Anway for short dated options the discrete case is probably the most relevant. I'm sure that pratictioners might add insightful comments... ciao -- Nando PS Merry Christmas everyone |
|
From: Marco M. <mar...@st...> - 2005-12-23 15:51:19
|
Hi,
I've used QuantLibAddin to build a couple of spreadsheet for training
purposes.
I've added a handful of functions:
+ a function qlXiborFixing to retrieve the fixing of an index
+ two functions qlRateHelperImpliedQuote, qlRateHelperQuoteError to
retrieve the implied quote and the error of a rate helper
+ a constructor qlForwardSpreadedTermStructure to build a curve with a
given spread
+ a constructor qlForwardCurve for a piecewise-constant forward curve
starting from
the given forward rates
Should I commit these additions?
Also, I would like to use the advance method of calendars and the
yearFraction method
of day counters. Is it possible, in the framework of QuantLibAddin, to use
these
as functions without having to export the Calendar/Day counter constructor?
If so, how do you do that?
Marco
Marco Marchioro
StatPro Italia
Phone: +39 02 4331 7497
Fax: +39 02 4391 1424
www.StatPro.com
|
|
From: Joseph W. <jo...@co...> - 2005-12-22 22:53:27
|
About two weeks ago, Luigi put in some unit tests for the finite difference method discrete dividend engine which failed the tests. After some work, I was able to modify the FD engine so that the results match the analytic formula which assumes that the value of the option is what it would be if the discounted values of the dividends were subtracted from the underlying. So everything is good..... Until I come across a paper by Haug that argues that the classic discrete dividend option formula is wrong. This brings up the possibility that the original algorithm which failed the unit tests is actually the correct one. The original quantlib algorithm backward evolves the price curve and if it encounters a dividend payout of $N, it shifts the price curve by N. The new algorithm which matches the results in the analytic formula and the "classic dividend" formula, first calculates the discounted dividend payout and then it scales the price curve by a factor of (U+N)/U where U is the price of the underlying. One of the implications of the original quantlib algorithm is that an option that pays out $5 on an underlying spot price of 100 will be valued differently than an option that pays out 5% on underlying spot price of $100. So the question I have is does anyone have a reference to a recent paper talking about how to handle discrete dividends with finite differences. |
|
From: Teo C. <teo...@ho...> - 2005-12-17 16:57:57
|
Some years ago I wanted to write a dissertation about "Automation of Option Market Making". I stopped the project. Who is acually the leading researcher in this field ? Can somebody recommend me some links ? _________________________________________________________________ Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! http://desktop.msn.de/ Jetzt gratis downloaden! |
|
From: Luigi B. <lui...@gm...> - 2005-12-15 16:05:06
|
On 12/13/2005 11:29:16 PM, David Brown wrote:
> Does anyone know of a GUI-based program that keeps multiple CVS
> repositories up-to-date?
David,
I'm not sure I follow. What I do is just running "cvs update" =20
in all checked-out modules, which is simple enough. What features are =20
you after exactly?
Later,
Luigi
----------------------------------------
fix, n.,v.
What one does when a problem has been reported too many times
to be ignored.
-- the Jargon file
|
|
From: David B. <doc...@gm...> - 2005-12-13 22:29:19
|
Hi- Does anyone know of a GUI-based program that keeps multiple CVS repositories up-to-date? I have just started playing with QuantLib SWIG an= d am having problems all over the place. I know that the majority of these problems are because of versioning. Preferrably the program is for BSD or Linux. Best Wishes, David Brown |
|
From: SourceForge.net <no...@so...> - 2005-12-13 21:05:18
|
Patches item #1378353, was opened at 2005-12-11 23:41 Message generated for change (Comment added) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=1378353&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 >Resolution: Accepted Priority: 5 Submitted By: Piter Dias (piterdias) >Assigned to: Luigi Ballabio (lballabio) Summary: Brazilian banking calendar Initial Comment: These files are intended to include Brazlian banking calendar into QuantLib. Holidays are provided by Andima and checked against Redoma (banking calendar vendor). ---------------------------------------------------------------------- Comment By: Luigi Ballabio (lballabio) Date: 2005-12-13 22:05 Message: Logged In: YES user_id=75450 The patch was applied to the code in the cvs repository. It will be included in next release. Thank you. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=1378353&group_id=12740 |
|
From: Joseph W. <jo...@co...> - 2005-12-12 02:16:20
|
Try changing typedef boost::shared_ptr<ZeroYieldStructure> ZeroYieldStructurePtr; to typedef boost::shared_ptr<YieldTermStructure> ZeroYieldStructurePtr; and see if that helps. |
|
From: Tinus R. <tr...@ls...> - 2005-12-12 00:06:42
|
Ok, so here I have an answer to my own question. Don't think it's the best
answer but at least it is working.
First of all I realised it was of no use trying to wrap the abstract class
ZeroYieldStructure. Secondly I could not get the template to work so I
created 2 instances of the class, if anyone know of a better way please let
me know.
%{
using QuantLib::InterpolatedZeroCurve;
using QuantLib::Linear;
typedef boost::shared_ptr<YieldTermStructure>
LinearInterpolatedZeroCurvePtr;
%}
%rename(LinearInterpolatedZeroCurve) LinearInterpolatedZeroCurvePtr;
class LinearInterpolatedZeroCurvePtr : public
boost::shared_ptr<YieldTermStructure> {
public:
%extend {
LinearInterpolatedZeroCurvePtr(const std::vector<Date>& dates,
const std::vector<Rate>& yields,
const DayCounter& dayCounter){
return new LinearInterpolatedZeroCurvePtr(
new
InterpolatedZeroCurve<Linear>(dates,yields,dayCounter));
}
}
};
%{
using QuantLib::Cubic;
typedef boost::shared_ptr<YieldTermStructure> CubicInterpolatedZeroCurvePtr;
%}
%rename(CubicInterpolatedZeroCurve) CubicInterpolatedZeroCurvePtr;
class CubicInterpolatedZeroCurvePtr : public
boost::shared_ptr<YieldTermStructure> {
public:
%extend {
CubicInterpolatedZeroCurvePtr(const std::vector<Date>& dates,
const std::vector<Rate>& yields,
const DayCounter& dayCounter,
const Cubic& cubic = Cubic()){
return new CubicInterpolatedZeroCurvePtr(
new
InterpolatedZeroCurve<Cubic>(dates,yields,dayCounter,cubic));
}
}
};
-----Original Message-----
From: qua...@li...
[mailto:qua...@li...] On Behalf Of Tinus
Rautenbach
Sent: 10 December 2005 16:51
To: qua...@li...
Subject: [Quantlib-dev] swig interface extension problem
Hi All
This is my first post, and hopefully not my last, I've been working with
quantlib for a while now, and want to use it from Java in a project.
The problem is that I have now spent 2 solid days trying to change the
termstructures.i interface to work for interpolatedzerocurve.
The problem is an intermediate class ZeroYieldStructure. I can't seem to
get swig to generate this class because of it's virtual methods.
I was hoping that someone with a bit more experience with swig and quantlib
could give me some pointers.
Here is what I have at the moment (I have tried man different iterations of
this..) but it complains when trying to compile the cpp wrappers:
//%feature("notabstract") ZeroYieldStructure; %{ using
QuantLib::ZeroYieldStructure; typedef boost::shared_ptr<ZeroYieldStructure>
ZeroYieldStructurePtr; %}
%rename(ZeroYieldStructure) ZeroYieldStructurePtr; class
ZeroYieldStructurePtr : public boost::shared_ptr<YieldTermStructure> {
public:
// ZeroYieldStructure();
// ZeroYieldStructure(const Date& referenceDate);
// ZeroYieldStructure(Integer settlementDays, const Calendar&);
// Rate zeroYieldImpl(Time) const = 0;
// Date maxDate() const;
// DayCounter dayCounter() const = 0;
};
// flat forward curve
%feature("notabstract") InterpolatedZeroCurve;
%{
using QuantLib::InterpolatedZeroCurve;
using QuantLib::Linear;
%}
template <class Interpolator>
class InterpolatedZeroCurve : public ZeroYieldStructure {
public:
InterpolatedZeroCurve(const std::vector<Date>& dates,
const std::vector<Rate>& yields,
const DayCounter& dayCounter,
const Interpolator& interpolator =
Interpolator());
DayCounter dayCounter() const;
Date maxDate() const;
Time maxTime() const;
const std::vector<Time>& times() const;
const std::vector<Date>& dates() const; };
%template(LinearInterpolatedZeroCurve) InterpolatedZeroCurve<Linear>;
The erros is as follows:
../quantlib.cxx: In function `jlong
Java_org_quantlib_quantlibJNI_SWIGZeroYieldStructureUpcast(JNIEnv*,
_jclass*, long long int)':
../quantlib.cxx:70529: cannot convert `ZeroYieldStructurePtr*' to
`boost::shared_ptr<QuantLib::YieldTermStructure>*' in assignment
Any help would be appreciated, and hopefully I could get the swing of this
soon to start contributing back.
Regards
Tinus
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Quantlib-dev mailing list
Qua...@li...
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
|
|
From: SourceForge.net <no...@so...> - 2005-12-11 22:45:59
|
Patches item #1378353, was opened at 2005-12-11 20:41 Message generated for change (Settings changed) made by piterdias You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=1378353&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 Submitted By: Piter Dias (piterdias) >Assigned to: Ferdinando Ametrano (nando) Summary: Brazilian banking calendar Initial Comment: These files are intended to include Brazlian banking calendar into QuantLib. Holidays are provided by Andima and checked against Redoma (banking calendar vendor). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=1378353&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2005-12-11 22:41:35
|
Patches item #1378353, was opened at 2005-12-11 20:41 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=1378353&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 Submitted By: Piter Dias (piterdias) Assigned to: Nobody/Anonymous (nobody) Summary: Brazilian banking calendar Initial Comment: These files are intended to include Brazlian banking calendar into QuantLib. Holidays are provided by Andima and checked against Redoma (banking calendar vendor). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=1378353&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2005-12-11 22:38:36
|
Patches item #1378350, was opened at 2005-12-11 20:36 Message generated for change (Settings changed) made by piterdias You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=1378350&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: Deleted Resolution: None Priority: 5 Submitted By: Piter Dias (piterdias) Assigned to: Nobody/Anonymous (nobody) Summary: Header file of Brazilian calendar Initial Comment: Header file of Brazilian calendar. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=1378350&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2005-12-11 22:36:29
|
Patches item #1378350, was opened at 2005-12-11 20:36 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=1378350&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 Submitted By: Piter Dias (piterdias) Assigned to: Nobody/Anonymous (nobody) Summary: Header file of Brazilian calendar Initial Comment: Header file of Brazilian calendar. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=1378350&group_id=12740 |
|
From: Joseph W. <jo...@co...> - 2005-12-11 05:03:11
|
Any code you might have can be posted either on the quantlib-dev mail list if it is short, or else uploaded to wiki.quantlib.org. Enhancements and additions are deeply appreciated. Also, you probably should work against the latest CVS version if you are doing any major development. I'd be very interested to know in a general sense what you need to do to make it work for the Brazilian market, since I'm interested in the mainland Chinese market, and I suspect that there are some general issues for QF in emerging markets. The recent economic history of Brazil (i.e. the Real plan and the URV) is quite fascinating. The method that Brazil used to kill hyperinflation seems somewhat similar to what was used to kill hyperinflation in 1950's China after the Civil War. (Basically you get people to start using an alternate currency is pegged to stable values.) Are any of the issues involved in local markets the result of the Real plan? |
|
From: Tinus R. <tr...@ls...> - 2005-12-10 16:52:02
|
Hi All
This is my first post, and hopefully not my last, I've been working with
quantlib for a while now, and want to use it from Java in a project.
The problem is that I have now spent 2 solid days trying to change the
termstructures.i interface to work for interpolatedzerocurve.
The problem is an intermediate class ZeroYieldStructure. I can't seem to
get swig to generate this class because of it's virtual methods.
I was hoping that someone with a bit more experience with swig and quantlib
could give me some pointers.
Here is what I have at the moment (I have tried man different iterations of
this..) but it complains when trying to compile the cpp wrappers:
//%feature("notabstract") ZeroYieldStructure;
%{
using QuantLib::ZeroYieldStructure;
typedef boost::shared_ptr<ZeroYieldStructure> ZeroYieldStructurePtr;
%}
%rename(ZeroYieldStructure) ZeroYieldStructurePtr;
class ZeroYieldStructurePtr : public boost::shared_ptr<YieldTermStructure> {
public:
// ZeroYieldStructure();
// ZeroYieldStructure(const Date& referenceDate);
// ZeroYieldStructure(Integer settlementDays, const Calendar&);
// Rate zeroYieldImpl(Time) const = 0;
// Date maxDate() const;
// DayCounter dayCounter() const = 0;
};
// flat forward curve
%feature("notabstract") InterpolatedZeroCurve;
%{
using QuantLib::InterpolatedZeroCurve;
using QuantLib::Linear;
%}
template <class Interpolator>
class InterpolatedZeroCurve : public ZeroYieldStructure {
public:
InterpolatedZeroCurve(const std::vector<Date>& dates,
const std::vector<Rate>& yields,
const DayCounter& dayCounter,
const Interpolator& interpolator =
Interpolator());
DayCounter dayCounter() const;
Date maxDate() const;
Time maxTime() const;
const std::vector<Time>& times() const;
const std::vector<Date>& dates() const;
};
%template(LinearInterpolatedZeroCurve) InterpolatedZeroCurve<Linear>;
The erros is as follows:
../quantlib.cxx: In function `jlong
Java_org_quantlib_quantlibJNI_SWIGZeroYieldStructureUpcast(JNIEnv*,
_jclass*, long long int)':
../quantlib.cxx:70529: cannot convert `ZeroYieldStructurePtr*' to
`boost::shared_ptr<QuantLib::YieldTermStructure>*' in assignment
Any help would be appreciated, and hopefully I could get the swing of this
soon to start contributing back.
Regards
Tinus
|
|
From: SourceForge.net <no...@so...> - 2005-12-02 03:20:13
|
Feature Requests item #1197179, was opened at 05/07/05 04:15 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=1197179&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 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: add bootstrap to construct zero curve from market bonds Initial Comment: add bootstrap to construct zero curve from market bonds ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 12/01/05 19:20 Message: Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Luigi Ballabio (lballabio) Date: 11/17/05 04:29 Message: Logged In: YES user_id=75450 The feature is now implemented in CVS and will be available in the next library release. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=362740&aid=1197179&group_id=12740 |
|
From: Dirk E. <ed...@de...> - 2005-11-19 03:10:13
|
On 18 November 2005 at 20:53, Joseph Wang wrote:
| just curious but I wonder if anyone has ever tried running quantlib from
| R through the R-python or R-perl interface.
Not that I know of.
| it would look like
|
| R <----RPython----> Python <----- SWIG ----> Quantlib
You have an alternative at the 2nd leg:
R <----RPy----> Python <----- SWIG ----> Quantlib
That could work, though the diagram would probably be more "V" shaped with
Python as a controller in the middle talking to R for stats and QL for
pricing --- so it doesn't really do "R from QuantLib" or "QuantLib from R".
Dirk
--
Statistics: The (futile) attempt to offer certainty about uncertainty.
-- Roger Koenker, 'Dictionary of Received Ideas of Statistics'
|
|
From: Joseph W. <jo...@co...> - 2005-11-19 02:53:21
|
just curious but I wonder if anyone has ever tried running quantlib from R through the R-python or R-perl interface. it would look like R <----RPython----> Python <----- SWIG ----> Quantlib |
|
From: Dirk E. <ed...@de...> - 2005-11-18 05:07:19
|
On 17 November 2005 at 22:49, Joseph Wang wrote:
|
| >It turns out that the suggested '-fpermissive' fixes it. From my build-logs,
| >it worked fine without it on Oct 21 with the then-current g++-4.0 (4.0.2-2,
| >judging from its changelog). The current one is 4.0.2-4 with the changed
| >allocator, and something must have changed along with it.
| >
| >But then given the speed with which things move around here, it probably has
| >long been updated in CVS anyway :)
| >
| >
| >
| Yup.... The problem was that quote.hpp had a template with a #define
| macro that was confusing the compiler. The solution was to include
| <ql/error.h> so that the macro gets expanded before the compiler sees it.
Dang. I remember that one from the discussion on the list.
Thanks for the clue-bat.
Dirk
--
Statistics: The (futile) attempt to offer certainty about uncertainty.
-- Roger Koenker, 'Dictionary of Received Ideas of Statistics'
|