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: Nathan A. <nka...@gm...> - 2010-09-21 17:22:11
|
I suggest you should use C++/CLI. C++/CLI works just fine with QuantLib. If you do not want to use C++ you can try QL.net. It is written in C#. On Mon, Sep 20, 2010 at 1:49 AM, Ahmad Mahomed <ahm...@gm...>wrote: > Good day Luigi, > > I have spotted this old thread on Wilmot ( > http://www.wilmott.com/messageview.cfm?catid=10&threadid=36148) regarding > "Compiling Quantlib to .NET MIL". Are those comments still valid? Is it > possible to compile Quantlib using the /clr option. I have tried this and > the the compilation was successful albeit with a few warnings. However, I > was not able to use the resultant binary in a C# project? Is this even > possible? Would you suggest this? I think the question also what are the > other compilations options available for QL for a .Net environment? > > I have successfully used the C# SWIG bindings and have been able to call > into the QL library. I am looking for alternatives ways to use QL within a > .Net environment. (The C# port of the QuantLib(qlnet.org) is not actively > maintained, so that is not an option) > > Some background - the plan is to use QL within a Windows-based > client-server environment (and possible a standalone server-side only > application for batch processing). Are there any gotcha's that you may be > aware of that I need to know? > > Your help/advice on this will be highly appreciated. I am complete C++ > noob, so please forgive some of the naive questions. There also does not > seem to be much information apart from the C# SWIG options for QuantLib. > > Regards, > > -- > Ahmad Mahomed > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > |
|
From: Ferdinando A. <na...@am...> - 2010-09-20 14:36:03
|
Hi Eric, I've downloaded and tested the QuantLibXL-bin.exe release candidate: there were few workbooks which needed an update. I fixed all of them but Interpolation.xls. Interpolation.xls fails because of a broken feature: we used to be able to input a comma separated string instead of a vector of numbers, now it's not possible anymore. The code must be there somewhere and we also have the function ohStringSplit which implements that functionality in an effective way. Unfortunately nesting ohStringSplit inside a function call does not solve the issue. Could you take a look at it? The most elegant solution would probably be to just fix the call =myFunction(..., ohStringSplit(myvectorAsString, ","), ...) so that it would up to the user to do the conversion and to provide the delimiter (which is regional settings dependant) The optional next step might be to also attempt a last-resort coercion to vector<Whatever> at the C++ layer, in which case the delimiter should be the regional setting default thank you anyway ciao -- Nando |
|
From: ANIMESH S. <ani...@gm...> - 2010-09-20 09:37:03
|
GenericMonteCarlo.zip https://docs.google.com/leaf?id=0Bz-6k70uEtu7Y2Y4MWQxZDAtN2U0NC00ZmVjLTllMGYtYTIxMzdiMWI5MzMy&hl=e Hi, I had been work on a monte carlo design (with Stochastic Volatility - Heston Model). My basic idea was to allow almost any exotic structure to be priced (well 90% of them) using stochastic volatility coz GeneralizedBlackScholes process is not practically useful. I designed this from a trader / quants perspective. The design is very poor - I Admit! I have tried to generalize the heston process, and using what I call hooks (different exotic payoffs) the process will price them. The process generates the paths, (cholesky decomposition used to generate correlated random numbers). Halton sequence used for fast convergence. The hook just uses the process to get the paths generated and updates the payoff. So any new exotic structure added will just need a new hook. As of now I have skipped the discounting portion, and is purely used by me for personal trading. I do the discounting manually using HJM later. I would like some suggestions from anyone who wants to take try this. Maybe with lots of changes to design this methodology can be put into QuantLib. This will help in solving the tight coupling of engines and process issue. Link is a google doc to attached code (zip file). It's in Mac (XCode) gui, but well can be compiled on any platform easily. (No dependencies on Boost etc) Thanks for your time, Animesh (http://quantanalysis.wordpress.com) |
|
From: Ahmad M. <ahm...@gm...> - 2010-09-20 08:49:24
|
Good day Luigi, I have spotted this old thread on Wilmot ( http://www.wilmott.com/messageview.cfm?catid=10&threadid=36148) regarding "Compiling Quantlib to .NET MIL". Are those comments still valid? Is it possible to compile Quantlib using the /clr option. I have tried this and the the compilation was successful albeit with a few warnings. However, I was not able to use the resultant binary in a C# project? Is this even possible? Would you suggest this? I think the question also what are the other compilations options available for QL for a .Net environment? I have successfully used the C# SWIG bindings and have been able to call into the QL library. I am looking for alternatives ways to use QL within a .Net environment. (The C# port of the QuantLib(qlnet.org) is not actively maintained, so that is not an option) Some background - the plan is to use QL within a Windows-based client-server environment (and possible a standalone server-side only application for batch processing). Are there any gotcha's that you may be aware of that I need to know? Your help/advice on this will be highly appreciated. I am complete C++ noob, so please forgive some of the naive questions. There also does not seem to be much information apart from the C# SWIG options for QuantLib. Regards, -- Ahmad Mahomed |
|
From: Eric E. <eri...@na...> - 2010-09-17 20:46:39
|
Hi All, The prerelease files for version 1.0.1 of QuantLibAddin, QuantLibXL, ObjectHandler and gensrc are available at this link: http://sourceforge.net/projects/quantlib/files/prerelease/ I'd be grateful to anyone who could spare some time to test the files and let me know how it goes. There was no 1.0.0 release. These files are compatible with QuantLib 1.0.0 and 1.0.1. Kind Regards, Eric =================================================== Eric Ehlers nazcatech sprl | Brussels | http://www.nazcatech.be * Distributed computing for pricing analytics * Use Microsoft Excel as a client to the Grid |
|
From: SourceForge.net <no...@so...> - 2010-09-17 11:08:19
|
Patches item #3064373, was opened at 2010-09-11 19:28 Message generated for change (Comment added) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=3064373&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: Duplicate Priority: 5 Private: No Submitted By: manas (manasb) Assigned to: Nobody/Anonymous (nobody) Summary: unitofmeasureconversionmanager.hpp change Initial Comment: removed friend reference to the class from which it is derived ie class UnitOfMeasureConversionManager : public Singleton<UnitOfMeasureConversionManager> { friend class Singleton<UnitOfMeasureConversionManager>; to class UnitOfMeasureConversionManager : public Singleton<UnitOfMeasureConversionManager> { ---------------------------------------------------------------------- >Comment By: Luigi Ballabio (lballabio) Date: 2010-09-17 13:08 Message: copy of 3064571 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=3064373&group_id=12740 |
|
From: Dima <dim...@go...> - 2010-09-17 09:41:37
|
I have some code which might help:
boost::shared_ptr<YieldTermStructure> curvePtr=getBondYieldCurve();
// this function constructs the yield curve
Handle<YieldTermStructure> curve(curvePtr);
Natural settlementDays = 1;
Calendar cal=UnitedStates(UnitedStates::GovernmentBond);
Real faceAmount = 100.0;
Date today(14,Sep,2009);
Settings::instance().evaluationDate() = today;
Date settlementDate=cal.advance(today,settlementDays,Days);
Date maturityDate(15,Nov,2017);
DayCounter dc=ActualActual(ActualActual::Bond);
Date issueDate(15,Nov,2007);
BusinessDayConvention bdc=Unadjusted;
Schedule bondSchedule=MakeSchedule(issueDate,maturityDate,
Period(Semiannual), cal, bdc).backwards();
std::vector<Date> couponDates=bondSchedule.dates();
FixedRateBond fixedRateBond(
settlementDays,
faceAmount,
bondSchedule,
std::vector<Rate>(1, 0.0425),
dc,bdc,faceAmount,issueDate);
boost::shared_ptr<PricingEngine> bondEngine(new
DiscountingBondEngine(curve));
fixedRateBond.setPricingEngine(bondEngine);
std::cout << "Clean Price:"<< fixedRateBond.cleanPrice() << std::endl;
std::cout << "Dirty Price:"<< fixedRateBond.dirtyPrice() << std::endl;
Real accruedInterest= fixedRateBond.dirtyPrice()-
fixedRateBond.cleanPrice();
std::cout << "Accrued Interest:" << accruedInterest << std::endl;
Rate yield=fixedRateBond.yield(dc,Compounded,Semiannual);
InterestRate yieldRate=InterestRate(yield,dc,Compounded,Semiannual);
std::cout << "Bond Yield:"<< yield << std::endl;
Real
durationMod=CashFlows::duration(fixedRateBond.cashflows(),yieldRate,
Duration::Modified);
std::cout << "Duration:" << - durationMod << std::endl;
std::cout << "BPV:" <<
CashFlows::basisPointValue(fixedRateBond.cashflows(),yieldRate)*100 <<
std::endl;
Real
convexity=CashFlows::convexity(fixedRateBond.cashflows(),yieldRate);
std::cout << "Convexity:" << convexity << std::endl;
Luigi Ballabio schrieb:
> On Wed, 2010-09-15 at 18:26 -0700, mdp788 wrote:
>
>> I am new to Quantlib, and using the Java binding. I am interested in YTM,
>> and duration calculation of Fixed as well floating rate coupon bond.
>> Unfortunately I can't find any examples or docs on how to do so. Could you
>> please point me to where I can find some example, or some other reference
>> documents on how to do what I stated earlier.
>>
>
> Unfortunately, I have no example ready; however, once you have
> instantiated your bond, you can extract its cashflows (by calling
> bond.cashflows()) and pass them to the yield(...) and duration(...)
> static methods of the CashFlows class.
>
> Luigi
>
>
>
|
|
From: Luigi B. <lui...@gm...> - 2010-09-17 09:33:08
|
On Wed, 2010-09-15 at 18:26 -0700, mdp788 wrote: > I am new to Quantlib, and using the Java binding. I am interested in YTM, > and duration calculation of Fixed as well floating rate coupon bond. > Unfortunately I can't find any examples or docs on how to do so. Could you > please point me to where I can find some example, or some other reference > documents on how to do what I stated earlier. Unfortunately, I have no example ready; however, once you have instantiated your bond, you can extract its cashflows (by calling bond.cashflows()) and pass them to the yield(...) and duration(...) static methods of the CashFlows class. Luigi -- Humphrey's Requirements Uncertainty Principle: For a new software system, the requirements will not be completely known until after the users have used it. |
|
From: Luigi B. <lui...@gm...> - 2010-09-17 08:49:37
|
Ahmad, you're probably using the SWIG bindings from the Subversion repository. Use QuantLib-SWIG 1.0, which works with QuantLib 1.0.1. Luigi On Thu, 2010-09-16 at 10:31 +0200, Ahmad Mahomed wrote: > I'm not a C++ developer - but just wanted to make sure that the > QL_HEX_VERSION number is correct '0x010001f0' in version.hpp from the > v1.0.1 download. > > > The NQuantLibc for the SWIG C# bindings does not compile. The error is > as follows: > > > \quantlib_wrap.cpp(345) : fatal error C1189: #error : using > an old version of QuantLib, please update > > > Changing Line 344 of 'quantlib_wrap.cpp' to the following works. > > > #if QL_HEX_VERSION < 0x010001f0//0x010100f0 > > > > Regards, > > -- > Ahmad Mahomed > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ QuantLib-dev mailing list Qua...@li... https://lists.sourceforge.net/lists/listinfo/quantlib-dev -- No, I'm not interested in developing a powerful brain. All I'm after is just a mediocre brain, something like the president of American Telephone and Telegraph Company. -- Alan Turing on the possibilities of a thinking machine, 1943. |
|
From: Ferdinando A. <na...@am...> - 2010-09-16 15:54:33
|
On Thu, Sep 16, 2010 at 1:50 PM, Luigi Ballabio <lui...@gm...> wrote: > If anyone could report success with VC2008 > and Bppst 1.44, that would be of help. no problem with the current trunk on my Windows XP box using VC2008 Express and boost 1.44 release configuration ciao -- Nando |
|
From: Luigi B. <lui...@gm...> - 2010-09-16 11:50:51
|
On Thu, 2010-09-16 at 05:01 -0500, Kakhkhor Abdijalilov wrote: > Did anyone run the test suite with boost 1.44? It is failing under > Visual Studio 2008 as well as under ICC. In the past v1.01 test suite > run fine under Visual Studio 2008, but now it is crashing with memory > access violation error message. Maybe something is wrong with boost? It's running with gcc on Linux. I might try a Windows box, but it's going to take me some time. If anyone could report success with VC2008 and Bppst 1.44, that would be of help. Luigi -- All generalizations are dangerous, even this one. -- Alexandre Dumas |
|
From: Kakhkhor A. <kab...@gm...> - 2010-09-16 10:01:08
|
Did anyone run the test suite with boost 1.44? It is failing under Visual Studio 2008 as well as under ICC. In the past v1.01 test suite run fine under Visual Studio 2008, but now it is crashing with memory access violation error message. Maybe something is wrong with boost? |
|
From: animesh s. <ani...@gm...> - 2010-09-16 09:58:11
|
Also FYI convergence diagram for my code (3 Asset basket option) with Stochastic Vol (less than 30 seconds to price) http://quantanalysis.files.wordpress.com/2010/09/091510_2334_montecarlob101.jpg On 9/16/10 3:25 PM, animesh saxena wrote: > Hi Luigi, > Thanks for your mail. I think I might have tried Mersenne > twister (from sample code), coz the sequence gave my code convergence > issues. I initially went with my own implementation of Halton sequence > to improve the convergence, but well Sobol is much much better :) > > I had used Cholesky decomposition for generating correlated random > numbers. Using some of the code from QuantLib I am able to generate an > N dimension array. If I have this huge array I can use it for pricing > almost any exotic (by repeating the simulations). All that changes is > the payoff function. For instance Heston model combined with Path > generation can be used for pricing almost any exotic structure (well > majority of them). I still am trying to think of how to make the > payoff specification generic. > > So is it possible to have a generic pricer in QuantLib which will > allow the user to specify a PayOff function using the multi path > generated above? I think it can be pretty useful. Coz currently as you > mentioned we have Engines tightly coupled with Exotic Options and > Processes. > > Let me know your views on that. > > Thanks, > > Animesh > On 9/16/10 2:57 PM, Luigi Ballabio wrote: >> On Thu, 2010-09-16 at 13:19 +0530, animesh saxena wrote: >>> What is the method used for Random number generation in QuantLib for >>> Monte Carlo Simulations (for instance Heston Model)? >>> Is it Mersene Twister or something else? >> It depends on the traits you choose when you instantiate the engine. >> For the PseudoRandom traits, it's Mersenne Twister. For LowDiscrepancy, >> it's Sobol. If you want something else, you can make a new traits class >> and use that one; look at<ql/math/randomnumbers/rngtraits.hpp> and >> <ql/methods/montecarlo/mctraits.hpp> for examples and details. >> >> Luigi >> >> > -- Regards, Animesh Saxena (http://quantanalysis.wordpress.com) Ph: (+91)9920098221 |
|
From: animesh s. <ani...@gm...> - 2010-09-16 09:56:08
|
Hi Luigi,
Thanks for your mail. I think I might have tried Mersenne twister
(from sample code), coz the sequence gave my code convergence issues. I
initially went with my own implementation of Halton sequence to improve
the convergence, but well Sobol is much much better :)
I had used Cholesky decomposition for generating correlated random
numbers. Using some of the code from QuantLib I am able to generate an N
dimension array. If I have this huge array I can use it for pricing
almost any exotic (by repeating the simulations). All that changes is
the payoff function. For instance Heston model combined with Path
generation can be used for pricing almost any exotic structure (well
majority of them). I still am trying to think of how to make the payoff
specification generic.
So is it possible to have a generic pricer in QuantLib which will allow
the user to specify a PayOff function using the multi path generated
above? I think it can be pretty useful. Coz currently as you mentioned
we have Engines tightly coupled with Exotic Options and Processes.
Let me know your views on that.
Thanks,
Animesh
On 9/16/10 2:57 PM, Luigi Ballabio wrote:
> On Thu, 2010-09-16 at 13:19 +0530, animesh saxena wrote:
>> What is the method used for Random number generation in QuantLib for
>> Monte Carlo Simulations (for instance Heston Model)?
>> Is it Mersene Twister or something else?
> It depends on the traits you choose when you instantiate the engine.
> For the PseudoRandom traits, it's Mersenne Twister. For LowDiscrepancy,
> it's Sobol. If you want something else, you can make a new traits class
> and use that one; look at<ql/math/randomnumbers/rngtraits.hpp> and
> <ql/methods/montecarlo/mctraits.hpp> for examples and details.
>
> Luigi
>
>
--
Regards,
Animesh Saxena
(http://quantanalysis.wordpress.com)
Ph: (+91)9920098221
|
|
From: Luigi B. <lui...@gm...> - 2010-09-16 09:28:48
|
On Thu, 2010-09-16 at 13:19 +0530, animesh saxena wrote: > What is the method used for Random number generation in QuantLib for > Monte Carlo Simulations (for instance Heston Model)? > Is it Mersene Twister or something else? It depends on the traits you choose when you instantiate the engine. For the PseudoRandom traits, it's Mersenne Twister. For LowDiscrepancy, it's Sobol. If you want something else, you can make a new traits class and use that one; look at <ql/math/randomnumbers/rngtraits.hpp> and <ql/methods/montecarlo/mctraits.hpp> for examples and details. Luigi -- standards, n.: The principles we use to reject other people's code. |
|
From: Ahmad M. <ahm...@gm...> - 2010-09-16 08:31:12
|
Hi, I'm not a C++ developer - but just wanted to make sure that the QL_HEX_VERSION number is correct '0x010001f0' in version.hpp from the v1.0.1 download. The NQuantLibc for the SWIG C# bindings does not compile. The error is as follows: *\quantlib_wrap.cpp(345) : fatal error C1189: #error : using an old version of QuantLib, please update* Changing Line 344 of 'quantlib_wrap.cpp' to the following works. *#if QL_HEX_VERSION < 0x010001f0//0x010100f0* Regards, -- Ahmad Mahomed |
|
From: animesh s. <ani...@gm...> - 2010-09-16 07:50:02
|
What is the method used for Random number generation in QuantLib for Monte Carlo Simulations (for instance Heston Model)? Is it Mersene Twister or something else? -- Regards, Animesh Saxena (http://quantanalysis.wordpress.com) Ph: (+91)9920098221 |
|
From: mdp788 <md...@gm...> - 2010-09-16 01:26:09
|
Hello, I am new to Quantlib, and using the Java binding. I am interested in YTM, and duration calculation of Fixed as well floating rate coupon bond. Unfortunately I can't find any examples or docs on how to do so. Could you please point me to where I can find some example, or some other reference documents on how to do what I stated earlier. Thanks a lor. -- View this message in context: http://old.nabble.com/Yield-to-Maturity-and-Duration-example.-tp29724423p29724423.html Sent from the quantlib-dev mailing list archive at Nabble.com. |
|
From: Kakhkhor A. <kab...@gm...> - 2010-09-15 23:44:35
|
It worked with all examples, but the test suite crashes with access violation error. I suspect it as to do something with compiler settings. Bjam uses different compiler settings for icc and it must be run with preset environment variables. Some of the settings could be different from Visual Studio project settings. I will recompiled boost and QuantLib and try it again. |
|
From: Kakhkhor A. <kab...@gm...> - 2010-09-15 20:33:03
|
denom and num aren't continues. Looks like "if (!denom)" was meant to deal with the case when denom is exactly zero because of particular choice of i, alpha and beta. In that case num must be exactly zero too. For example, if i=0, alpha=0 and beta=0, then denom is bitwise 0. In that case num must be bitwise zero too. It will work if the test "if (!denom)" is meant to be true only for a particular values of i, alpha and beta. |
|
From: Bojan N. <bo...@bn...> - 2010-09-15 10:26:29
|
This probably doesn't work because the logic was reversed here:
,----
| if (std::fabs(denom)<QL_EPSILON) {
| if (std::fabs(num)<QL_EPSILON) {
| QL_FAIL("can't compute b_k for jacobi integration\n");
`----
I think it should be something like
,----
| if (std::fabs(denom)<QL_EPSILON) {
| if (std::fabs(num)>QL_EPSILON) {
| QL_FAIL("can't compute b_k for jacobi integration\n");
`----
This test exists because l'Hopital rule doesn't work if the nominator is
finite, so an error is signalled if denom is close to zero while num is
_not_ close to zero.
Best,
Bojan
--
Bojan Nikolic || http://www.bnikolic.co.uk/ql/
|
|
From: SourceForge.net <no...@so...> - 2010-09-15 08:45:57
|
Patches item #3047358, was opened at 2010-08-18 01:25 Message generated for change (Settings changed) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=3047358&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: Postponed Priority: 5 Private: No Submitted By: renorm (renorm) Assigned to: Nobody/Anonymous (nobody) Summary: fixed gaussian orthogonal polynomial Initial Comment: double with zero comparison issue Only fixed function are included ---------------------------------------------------------------------- Comment By: renorm (renorm) Date: 2010-09-14 21:44 Message: Looks like "double with zero comparison" was meant for something. Let's leave as it for now. ---------------------------------------------------------------------- Comment By: Luigi Ballabio (lballabio) Date: 2010-09-01 16:07 Message: With your patch, two cases in the test suite fail. May you investigate? ---------------------------------------------------------------------- Comment By: renorm (renorm) Date: 2010-08-18 15:08 Message: the whole file with fixes ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=3047358&group_id=12740 |
|
From: SourceForge.net <no...@so...> - 2010-09-14 19:44:01
|
Patches item #3047358, was opened at 2010-08-17 19:25 Message generated for change (Comment added) made by renorm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=3047358&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: renorm (renorm) Assigned to: Nobody/Anonymous (nobody) Summary: fixed gaussian orthogonal polynomial Initial Comment: double with zero comparison issue Only fixed function are included ---------------------------------------------------------------------- >Comment By: renorm (renorm) Date: 2010-09-14 15:44 Message: Looks like "double with zero comparison" was meant for something. Let's leave as it for now. ---------------------------------------------------------------------- Comment By: Luigi Ballabio (lballabio) Date: 2010-09-01 10:07 Message: With your patch, two cases in the test suite fail. May you investigate? ---------------------------------------------------------------------- Comment By: renorm (renorm) Date: 2010-08-18 09:08 Message: the whole file with fixes ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312740&aid=3047358&group_id=12740 |
|
From: Luigi B. <lui...@gm...> - 2010-09-14 15:27:01
|
On Fri, 2010-09-10 at 10:25 -0500, Kakhkhor Abdijalilov wrote: > Thanks a lot. That is encouraging. > > What if the instance() method is synchronized with mutex, could it > solve static singleton problem? I'm not sure it's a synchronization problem. Are you? (Also, we'd have the brand new problem of choosing a threading library.) Luigi -- Testing can never demonstrate the absence of errors in software, only their presence. -- W.E. Dijkstra |
|
From: Luigi B. <lui...@gm...> - 2010-09-13 15:24:00
|
On Sun, 2010-09-12 at 01:42 +0800, manas bhatt wrote: > Hi Luigi, > thanks for the suggestion. I will work on that. Also, i would like > to improve the way the code is written especially how the commodity > curve and it's associated classes (cashflows, unitofmeasure, etc) are > defined. Hope, that's ok with you. Sure, go ahead. Later, Luigi -- It is always the best policy to tell the truth, unless, of course, you are an exceptionally good liar. -- Jerome K. Jerome |