You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(60) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(18) |
Feb
(4) |
Mar
(6) |
Apr
(2) |
May
|
Jun
(12) |
Jul
(48) |
Aug
(6) |
Sep
(3) |
Oct
(24) |
Nov
(15) |
Dec
(18) |
| 2002 |
Jan
(39) |
Feb
(12) |
Mar
(80) |
Apr
(72) |
May
(46) |
Jun
(27) |
Jul
(23) |
Aug
(34) |
Sep
(65) |
Oct
(71) |
Nov
(19) |
Dec
(14) |
| 2003 |
Jan
(44) |
Feb
(59) |
Mar
(18) |
Apr
(62) |
May
(54) |
Jun
(27) |
Jul
(46) |
Aug
(15) |
Sep
(44) |
Oct
(36) |
Nov
(19) |
Dec
(12) |
| 2004 |
Jan
(26) |
Feb
(33) |
Mar
(47) |
Apr
(63) |
May
(36) |
Jun
(65) |
Jul
(80) |
Aug
(163) |
Sep
(65) |
Oct
(39) |
Nov
(36) |
Dec
(39) |
| 2005 |
Jan
(97) |
Feb
(78) |
Mar
(64) |
Apr
(64) |
May
(48) |
Jun
(55) |
Jul
(89) |
Aug
(57) |
Sep
(51) |
Oct
(111) |
Nov
(86) |
Dec
(76) |
| 2006 |
Jan
(84) |
Feb
(103) |
Mar
(143) |
Apr
(92) |
May
(55) |
Jun
(58) |
Jul
(71) |
Aug
(57) |
Sep
(74) |
Oct
(59) |
Nov
(8) |
Dec
(32) |
| 2007 |
Jan
(60) |
Feb
(40) |
Mar
(50) |
Apr
(26) |
May
(61) |
Jun
(120) |
Jul
(119) |
Aug
(48) |
Sep
(121) |
Oct
(66) |
Nov
(103) |
Dec
(43) |
| 2008 |
Jan
(60) |
Feb
(109) |
Mar
(92) |
Apr
(106) |
May
(82) |
Jun
(59) |
Jul
(67) |
Aug
(118) |
Sep
(131) |
Oct
(56) |
Nov
(37) |
Dec
(69) |
| 2009 |
Jan
(75) |
Feb
(76) |
Mar
(103) |
Apr
(78) |
May
(61) |
Jun
(35) |
Jul
(66) |
Aug
(69) |
Sep
(166) |
Oct
(46) |
Nov
(72) |
Dec
(65) |
| 2010 |
Jan
(48) |
Feb
(57) |
Mar
(93) |
Apr
(85) |
May
(123) |
Jun
(82) |
Jul
(98) |
Aug
(121) |
Sep
(146) |
Oct
(86) |
Nov
(72) |
Dec
(34) |
| 2011 |
Jan
(96) |
Feb
(55) |
Mar
(73) |
Apr
(57) |
May
(33) |
Jun
(74) |
Jul
(89) |
Aug
(71) |
Sep
(103) |
Oct
(76) |
Nov
(52) |
Dec
(61) |
| 2012 |
Jan
(48) |
Feb
(54) |
Mar
(78) |
Apr
(60) |
May
(75) |
Jun
(59) |
Jul
(33) |
Aug
(66) |
Sep
(43) |
Oct
(46) |
Nov
(75) |
Dec
(51) |
| 2013 |
Jan
(112) |
Feb
(72) |
Mar
(49) |
Apr
(48) |
May
(42) |
Jun
(44) |
Jul
(80) |
Aug
(19) |
Sep
(33) |
Oct
(37) |
Nov
(38) |
Dec
(98) |
| 2014 |
Jan
(113) |
Feb
(93) |
Mar
(49) |
Apr
(106) |
May
(97) |
Jun
(155) |
Jul
(87) |
Aug
(127) |
Sep
(85) |
Oct
(48) |
Nov
(41) |
Dec
(37) |
| 2015 |
Jan
(34) |
Feb
(50) |
Mar
(104) |
Apr
(80) |
May
(82) |
Jun
(66) |
Jul
(41) |
Aug
(84) |
Sep
(37) |
Oct
(65) |
Nov
(83) |
Dec
(52) |
| 2016 |
Jan
(68) |
Feb
(35) |
Mar
(42) |
Apr
(35) |
May
(54) |
Jun
(75) |
Jul
(45) |
Aug
(52) |
Sep
(60) |
Oct
(52) |
Nov
(36) |
Dec
(64) |
| 2017 |
Jan
(92) |
Feb
(59) |
Mar
(35) |
Apr
(53) |
May
(83) |
Jun
(43) |
Jul
(65) |
Aug
(68) |
Sep
(46) |
Oct
(75) |
Nov
(40) |
Dec
(49) |
| 2018 |
Jan
(68) |
Feb
(54) |
Mar
(48) |
Apr
(58) |
May
(51) |
Jun
(44) |
Jul
(40) |
Aug
(68) |
Sep
(35) |
Oct
(15) |
Nov
(7) |
Dec
(37) |
| 2019 |
Jan
(43) |
Feb
(7) |
Mar
(22) |
Apr
(21) |
May
(31) |
Jun
(39) |
Jul
(73) |
Aug
(45) |
Sep
(47) |
Oct
(89) |
Nov
(19) |
Dec
(69) |
| 2020 |
Jan
(52) |
Feb
(63) |
Mar
(45) |
Apr
(59) |
May
(42) |
Jun
(57) |
Jul
(30) |
Aug
(29) |
Sep
(75) |
Oct
(64) |
Nov
(96) |
Dec
(22) |
| 2021 |
Jan
(14) |
Feb
(24) |
Mar
(35) |
Apr
(58) |
May
(36) |
Jun
(15) |
Jul
(18) |
Aug
(31) |
Sep
(30) |
Oct
(33) |
Nov
(27) |
Dec
(16) |
| 2022 |
Jan
(35) |
Feb
(22) |
Mar
(14) |
Apr
(20) |
May
(44) |
Jun
(53) |
Jul
(25) |
Aug
(56) |
Sep
(11) |
Oct
(47) |
Nov
(22) |
Dec
(36) |
| 2023 |
Jan
(30) |
Feb
(17) |
Mar
(31) |
Apr
(48) |
May
(31) |
Jun
(7) |
Jul
(25) |
Aug
(26) |
Sep
(61) |
Oct
(66) |
Nov
(19) |
Dec
(21) |
| 2024 |
Jan
(37) |
Feb
(29) |
Mar
(26) |
Apr
(26) |
May
(34) |
Jun
(9) |
Jul
(27) |
Aug
(13) |
Sep
(15) |
Oct
(25) |
Nov
(13) |
Dec
(8) |
| 2025 |
Jan
(13) |
Feb
(1) |
Mar
(16) |
Apr
(17) |
May
(8) |
Jun
(6) |
Jul
(9) |
Aug
|
Sep
(6) |
Oct
(15) |
Nov
(6) |
Dec
|
| 2026 |
Jan
(6) |
Feb
(4) |
Mar
(20) |
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Luigi B. <lui...@gm...> - 2020-10-02 11:11:18
|
It sounds like you're running out of memory. How much did you make available to Docker? If that's the problem, you can try reducing the amount of memory used by the compiler by disabling some or all optimizations, i.e., by passing '-O1' or '-O0'. You can do that by setting the environment variable CXXFLAGS to the desired flag. Luigi On Fri, Oct 2, 2020 at 11:25 AM Jack G <jac...@gm...> wrote: > Dear Luigi, > > Thanks for coming back. The configure problem turned out to be dos/unix > related - I was git cloning the files onto windows and sharing the volume > within my container, which made ubuntu unhappy. When I git clone directly > into the ubuntu container, all problems with that step are resolved. > > However, I'm still having trouble at the build step. I encounter this > issue at the "make -C Python" command, and also cd'ing into the Python > folder and following your instructions to build via python (here: > https://github.com/lballabio/QuantLib-SWIG/blob/master/Python/README.txt) > when I run this command "python setup.py build". In each case, I see a > lot of deprecation warnings ending with one for "FDDividendAmericanEngine" > (I've attached the full output of my most recent attempt > in swig_stack_output.txt), followed by a very long delay. At this point > nothing happens for a very long time, in one case it eventually failed due > to virtual memory running out but on other occasions it stayed at this step > for many hours: > [image: image.png] > > I've tried my own docker image, and I also tried the same using a > Dockerfile borrowed from one of your repos (I built this dockerfile > https://github.com/lballabio/dockerfiles/blob/master/quantlib-swig-devenv/Dockerfile.python3, > then ran an image, installed git and cloned the QuantLib-SWIG repo's > 'binder' branch, then followed the instructions). > > I feel like I'm missing something but can't see what it might be. > > Thanks for the help, > Jack > > On Fri, Oct 2, 2020 at 4:44 PM Luigi Ballabio <lui...@gm...> > wrote: > >> Hello Jack, >> may you post the full output from running configure? >> >> Luigi >> >> >> On Thu, Oct 1, 2020 at 4:03 AM Jack G <jac...@gm...> wrote: >> >>> Dear QuantLib Users, >>> >>> I'm trying to install QuantLib-SWIG version 1.19 to add some additional >>> interfaces into the C++ QuantLib functionality for use in Python, using the >>> instructions here: https://www.quantlib.org/install/linux-python.shtml, >>> and facing two problems. >>> >>> I'm developing inside a ubuntu docker container on a windows machine, >>> and built QuantLib from source in the Dockerfile (it causes my image to be >>> 17GB, not sure if this is expected?). I'm quite experienced with Python but >>> not very experienced building C++. >>> >>> First I tried to compile from the git repo, I cloned down a version and >>> ran ./autogen.sh, followed by ./configure, which gives the following error: >>> [image: image.png] >>> >>> If I instead download the binary here >>> https://bintray.com/quantlib/releases/download_file?file_path=QuantLib-SWIG-1.19.tar.gz >>> and unzip, I can successfully run the ./configure step (note that as far as >>> I can see, these two configure files are identical - compared via git). >>> However I run into some trouble a little later. When I first run "make -C >>> Python" or any step featuring "make", it tells me there is nothing to do. >>> I'm able to fix this with "make clean" and then "make -C Python", then I >>> have to "make clean" again but I get the following error again when I try >>> to run "sudo make -C Python install", which (I think) builds/links the C++ >>> code but is saying it doesn't want to install the python: >>> [image: image.png] >>> >>> Am I doing something obviously wrong? My preference would be to install >>> from the repo as I plan to test some code changes, but I'm not having much >>> luck with it. If I instead unpack the binaries (in which I can see the code >>> as text in .i files in the SWIG directory), modify the code, and then >>> build, will that see and compile my changes? >>> >>> Thanks >>> Jack >>> _______________________________________________ >>> QuantLib-users mailing list >>> Qua...@li... >>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>> >> |
|
From: Jack G <jac...@gm...> - 2020-10-02 09:25:49
|
Dear Luigi, Thanks for coming back. The configure problem turned out to be dos/unix related - I was git cloning the files onto windows and sharing the volume within my container, which made ubuntu unhappy. When I git clone directly into the ubuntu container, all problems with that step are resolved. However, I'm still having trouble at the build step. I encounter this issue at the "make -C Python" command, and also cd'ing into the Python folder and following your instructions to build via python (here: https://github.com/lballabio/QuantLib-SWIG/blob/master/Python/README.txt) when I run this command "python setup.py build". In each case, I see a lot of deprecation warnings ending with one for "FDDividendAmericanEngine" (I've attached the full output of my most recent attempt in swig_stack_output.txt), followed by a very long delay. At this point nothing happens for a very long time, in one case it eventually failed due to virtual memory running out but on other occasions it stayed at this step for many hours: [image: image.png] I've tried my own docker image, and I also tried the same using a Dockerfile borrowed from one of your repos (I built this dockerfile https://github.com/lballabio/dockerfiles/blob/master/quantlib-swig-devenv/Dockerfile.python3, then ran an image, installed git and cloned the QuantLib-SWIG repo's 'binder' branch, then followed the instructions). I feel like I'm missing something but can't see what it might be. Thanks for the help, Jack On Fri, Oct 2, 2020 at 4:44 PM Luigi Ballabio <lui...@gm...> wrote: > Hello Jack, > may you post the full output from running configure? > > Luigi > > > On Thu, Oct 1, 2020 at 4:03 AM Jack G <jac...@gm...> wrote: > >> Dear QuantLib Users, >> >> I'm trying to install QuantLib-SWIG version 1.19 to add some additional >> interfaces into the C++ QuantLib functionality for use in Python, using the >> instructions here: https://www.quantlib.org/install/linux-python.shtml, >> and facing two problems. >> >> I'm developing inside a ubuntu docker container on a windows machine, and >> built QuantLib from source in the Dockerfile (it causes my image to be >> 17GB, not sure if this is expected?). I'm quite experienced with Python but >> not very experienced building C++. >> >> First I tried to compile from the git repo, I cloned down a version and >> ran ./autogen.sh, followed by ./configure, which gives the following error: >> [image: image.png] >> >> If I instead download the binary here >> https://bintray.com/quantlib/releases/download_file?file_path=QuantLib-SWIG-1.19.tar.gz >> and unzip, I can successfully run the ./configure step (note that as far as >> I can see, these two configure files are identical - compared via git). >> However I run into some trouble a little later. When I first run "make -C >> Python" or any step featuring "make", it tells me there is nothing to do. >> I'm able to fix this with "make clean" and then "make -C Python", then I >> have to "make clean" again but I get the following error again when I try >> to run "sudo make -C Python install", which (I think) builds/links the C++ >> code but is saying it doesn't want to install the python: >> [image: image.png] >> >> Am I doing something obviously wrong? My preference would be to install >> from the repo as I plan to test some code changes, but I'm not having much >> luck with it. If I instead unpack the binaries (in which I can see the code >> as text in .i files in the SWIG directory), modify the code, and then >> build, will that see and compile my changes? >> >> Thanks >> Jack >> _______________________________________________ >> QuantLib-users mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-users >> > |
|
From: Francois B. <ig...@gm...> - 2020-10-02 09:07:15
|
Hi Berat, My suggestion would be to just create your own TRCPI class and follow the example of the other country inflation classes. However, I believe the 3 month observation lag doesn't affect your index directly, but rather the ZeroInflationTermStructure, which is then an input to your index. The index itself does accept an availability lag, which is typically 1 month. I had to do similar work on South African CPI bonds and I just used the code from inflationcpibond.cpp in the test suite, which uses UKRPI bonds. You'll notice the observationLag is defined as 2 months, so I'm unsure whether you should keep it at 2 or change it to 3. regards Francois Botha On Wed, 30 Sep 2020 at 15:03, berat postalcioglu <bpo...@gm...> wrote: > Hi all, > > I want to use CPI bond calculation with QuantLib for Turkey. The daily > reference index calculation in Turkey is as follow: > > [image: cpi_turkey.PNG] > > Should I use UKRPI class for cpi bond calculation? It seems the UK is > using 3 month indexation lag. > > Thanks in advance. Regards. > > -- > BERAT POSTALCIOĞLU > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |
|
From: Luigi B. <lui...@gm...> - 2020-10-02 08:57:07
|
Hello Berat,
the inflation calculations are probably in need of revamping. However,
I think an index with 3-months lag and "interpolated" set to true would do
what you need. I would use ZeroInflationIndex instead of UKRPI, though,
because using the UK index might be confusing.
Hope this helps,
Luigi
On Wed, Sep 30, 2020 at 3:03 PM berat postalcioglu <bpo...@gm...>
wrote:
> Hi all,
>
> I want to use CPI bond calculation with QuantLib for Turkey. The daily
> reference index calculation in Turkey is as follow:
>
> [image: cpi_turkey.PNG]
>
> Should I use UKRPI class for cpi bond calculation? It seems the UK is
> using 3 month indexation lag.
>
> Thanks in advance. Regards.
>
> --
> BERAT POSTALCIOĞLU
> _______________________________________________
> QuantLib-users mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
|
|
From: Luigi B. <lui...@gm...> - 2020-10-02 08:44:56
|
Hello Jack,
may you post the full output from running configure?
Luigi
On Thu, Oct 1, 2020 at 4:03 AM Jack G <jac...@gm...> wrote:
> Dear QuantLib Users,
>
> I'm trying to install QuantLib-SWIG version 1.19 to add some additional
> interfaces into the C++ QuantLib functionality for use in Python, using the
> instructions here: https://www.quantlib.org/install/linux-python.shtml,
> and facing two problems.
>
> I'm developing inside a ubuntu docker container on a windows machine, and
> built QuantLib from source in the Dockerfile (it causes my image to be
> 17GB, not sure if this is expected?). I'm quite experienced with Python but
> not very experienced building C++.
>
> First I tried to compile from the git repo, I cloned down a version and
> ran ./autogen.sh, followed by ./configure, which gives the following error:
> [image: image.png]
>
> If I instead download the binary here
> https://bintray.com/quantlib/releases/download_file?file_path=QuantLib-SWIG-1.19.tar.gz
> and unzip, I can successfully run the ./configure step (note that as far as
> I can see, these two configure files are identical - compared via git).
> However I run into some trouble a little later. When I first run "make -C
> Python" or any step featuring "make", it tells me there is nothing to do.
> I'm able to fix this with "make clean" and then "make -C Python", then I
> have to "make clean" again but I get the following error again when I try
> to run "sudo make -C Python install", which (I think) builds/links the C++
> code but is saying it doesn't want to install the python:
> [image: image.png]
>
> Am I doing something obviously wrong? My preference would be to install
> from the repo as I plan to test some code changes, but I'm not having much
> luck with it. If I instead unpack the binaries (in which I can see the code
> as text in .i files in the SWIG directory), modify the code, and then
> build, will that see and compile my changes?
>
> Thanks
> Jack
> _______________________________________________
> QuantLib-users mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
|
|
From: Jack G <jac...@gm...> - 2020-10-01 01:59:54
|
Dear QuantLib Users, I'm trying to install QuantLib-SWIG version 1.19 to add some additional interfaces into the C++ QuantLib functionality for use in Python, using the instructions here: https://www.quantlib.org/install/linux-python.shtml, and facing two problems. I'm developing inside a ubuntu docker container on a windows machine, and built QuantLib from source in the Dockerfile (it causes my image to be 17GB, not sure if this is expected?). I'm quite experienced with Python but not very experienced building C++. First I tried to compile from the git repo, I cloned down a version and ran ./autogen.sh, followed by ./configure, which gives the following error: [image: image.png] If I instead download the binary here https://bintray.com/quantlib/releases/download_file?file_path=QuantLib-SWIG-1.19.tar.gz and unzip, I can successfully run the ./configure step (note that as far as I can see, these two configure files are identical - compared via git). However I run into some trouble a little later. When I first run "make -C Python" or any step featuring "make", it tells me there is nothing to do. I'm able to fix this with "make clean" and then "make -C Python", then I have to "make clean" again but I get the following error again when I try to run "sudo make -C Python install", which (I think) builds/links the C++ code but is saying it doesn't want to install the python: [image: image.png] Am I doing something obviously wrong? My preference would be to install from the repo as I plan to test some code changes, but I'm not having much luck with it. If I instead unpack the binaries (in which I can see the code as text in .i files in the SWIG directory), modify the code, and then build, will that see and compile my changes? Thanks Jack |
|
From: berat p. <bpo...@gm...> - 2020-09-30 12:59:51
|
Hi all, I want to use CPI bond calculation with QuantLib for Turkey. The daily reference index calculation in Turkey is as follow: [image: cpi_turkey.PNG] Should I use UKRPI class for cpi bond calculation? It seems the UK is using 3 month indexation lag. Thanks in advance. Regards. -- BERAT POSTALCIOĞLU |
|
From: Sumit S. <su...@mo...> - 2020-09-30 07:19:46
|
Many thanks for the help Ioannis, Ben and Florian. Much appreciated Regards Sumit On Wed, 30 Sep 2020, 07:24 Ioannis Rigopoulos, <qua...@de...> wrote: > The statement INDEX.ADDFIXING(DATE(5, 8, 2020), 0.33/100) is a method of > the calling index. > > As such, it cannot possibly know of the existence of any spread since the > latter is a property of the particular instrument that may use that index. > > If the 0.33/100 were referring to the whole FRN coupon, what would be the > situation where the same index is referenced several times by a given > instrument, eg a floating-to-floating swap? > > Since the fixing is added only once on the referenced index and used by > all index clients, the only possibility is that 0.33/100 does not contain > instrument-specific parts, such as FRN spreads. > > Ioannis > On 30/09/2020 00:51, ben...@ma... wrote: > > The FRN coupon is fixing + IM (0.8%) so what Florian is correct, and when > I have looked at the QL FRN valuations they looked correct to me. > > > > Hard to say what Reuters is doing with out seeing the page, but may only > be showing the previous fixing rate not the coupon rate. > > > > Regards > > > > Ben > > > > > > *From:* Sumit Sengupta <su...@mo...> > <su...@mo...> > *Sent:* Wednesday, 30 September 2020 8:46 AM > *To:* Florian H. <fl...@po...> <fl...@po...> > *Cc:* QuantLib users <qua...@li...> > <qua...@li...> > *Subject:* Re: [Quantlib-users] Unable to explain this strange behaviour > for FRN > > > > Thanks Florian. That might be it! > > > > Looking at Reuters ( where they don't apply the margin on previous > fixing, I was under the impression that QL was doing the same. > > > > Regards > > Sumit > > > > On Tue, 29 Sep 2020, 21:41 Florian H., <fl...@po...> wrote: > > Hi Sumit, > > I am not very familiar with this topic, but I can see that you added a > spread of 0.8%. I think the total rate of the FRN is therefore 0.33% + > 0.8% = 1.13%. Thus, a quarterly coupon should be somewhere around 1.13/4 > = 0.2825 USD. > Hope this helps. > > Best regards, > Florian > > Am 29.09.2020 21:51 schrieb Sumit Sengupta: > > Hi, > > > > Would really appreciate it if someone can please comment on where > > I am going wrong... > > I am creating a simple FRN as below > > > > index = Euribor6M(forecast_curve) > > # add the fixing > > INDEX.ADDFIXING(DATE(5, 8, 2020), 0.33/100) > > > > self.ql_bond_frn = ql.FloatingRateBond( > > settlementDays=2, > > faceAmount=100, > > schedule=schedule, > > index=index, > > SPREADS=[0.8/100], > > paymentDayCounter=ActualActual(), > > paymentConvention=ModifiedFollowing, > > redemption=100, > > ) > > > > aa=[(c.date(), c.amount()) for c in self.ql_bond_frn.cashflows() if > > c.date() > self.value_date] > > > > I would expect the first cashflow to be simply 0.33*0.25 as this is a > > quarterly floater. So it should be close to 0.0825 > > > > However, when I see the list aa with the cash flow amount, I see the > > first entry as 0.28 > > > > Any thoughts? > > > > THANKS, > > SUMIT > > > > -- > > > > Mosaic Smart Data > > > > mobile +44 (0)7961839363 > > su...@mo... > > 25 Finsbury Circus ▫ EC2M 7EE ▫ London ▫ United Kingdom > > > > www.mosaicsmartdata.com [1] > > > > Links: > > ------ > > [1] http://www.mosaicsmartdata.com/ > > > > _______________________________________________ > > QuantLib-users mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > > _______________________________________________ > QuantLib-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quantlib-users > > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > <#m_-6103915644366605755_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |
|
From: Ioannis R. <qua...@de...> - 2020-09-30 06:23:26
|
The statement INDEX.ADDFIXING(DATE(5, 8, 2020), 0.33/100) is a method of the calling index. As such, it cannot possibly know of the existence of any spread since the latter is a property of the particular instrument that may use that index. If the 0.33/100 were referring to the whole FRN coupon, what would be the situation where the same index is referenced several times by a given instrument, eg a floating-to-floating swap? Since the fixing is added only once on the referenced index and used by all index clients, the only possibility is that 0.33/100 does not contain instrument-specific parts, such as FRN spreads. Ioannis On 30/09/2020 00:51, ben...@ma... wrote: > > The FRN coupon is fixing + IM (0.8%) so what Florian is correct, and > when I have looked at the QL FRN valuations they looked correct to me. > > Hard to say what Reuters is doing with out seeing the page, but may > only be showing the previous fixing rate not the coupon rate. > > Regards > > Ben > > *From:*Sumit Sengupta <su...@mo...> > *Sent:* Wednesday, 30 September 2020 8:46 AM > *To:* Florian H. <fl...@po...> > *Cc:* QuantLib users <qua...@li...> > *Subject:* Re: [Quantlib-users] Unable to explain this strange > behaviour for FRN > > Thanks Florian. That might be it! > > Looking at Reuters ( where they don't apply the margin on previous > fixing, I was under the impression that QL was doing the same. > > Regards > > Sumit > > On Tue, 29 Sep 2020, 21:41 Florian H., <fl...@po... > <mailto:fl...@po...>> wrote: > > Hi Sumit, > > I am not very familiar with this topic, but I can see that you > added a > spread of 0.8%. I think the total rate of the FRN is therefore > 0.33% + > 0.8% = 1.13%. Thus, a quarterly coupon should be somewhere around > 1.13/4 > = 0.2825 USD. > Hope this helps. > > Best regards, > Florian > > Am 29.09.2020 21:51 schrieb Sumit Sengupta: > > Hi, > > > > Would really appreciate it if someone can please comment on > where > > I am going wrong... > > I am creating a simple FRN as below > > > > index = Euribor6M(forecast_curve) > > # add the fixing > > INDEX.ADDFIXING(DATE(5, 8, 2020), 0.33/100) > > > > self.ql_bond_frn = ql.FloatingRateBond( > > settlementDays=2, > > faceAmount=100, > > schedule=schedule, > > index=index, > > SPREADS=[0.8/100], > > paymentDayCounter=ActualActual(), > > paymentConvention=ModifiedFollowing, > > redemption=100, > > ) > > > > aa=[(c.date(), c.amount()) for c in self.ql_bond_frn.cashflows() if > > c.date() > self.value_date] > > > > I would expect the first cashflow to be simply 0.33*0.25 as this > is a > > quarterly floater. So it should be close to 0.0825 > > > > However, when I see the list aa with the cash flow amount, I see the > > first entry as 0.28 > > > > Any thoughts? > > > > THANKS, > > SUMIT > > > > -- > > > > Mosaic Smart Data > > > > mobile +44 (0)7961839363 > > su...@mo... <mailto:su...@mo...> > > 25 Finsbury Circus ▫ EC2M 7EE ▫ London ▫ United Kingdom > > > > www.mosaicsmartdata.com <http://www.mosaicsmartdata.com> [1] > > > > Links: > > ------ > > [1] http://www.mosaicsmartdata.com/ > > > > _______________________________________________ > > QuantLib-users mailing list > > Qua...@li... > <mailto:Qua...@li...> > > https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
|
From: <ben...@ma...> - 2020-09-29 23:54:00
|
The FRN coupon is fixing + IM (0.8%) so what Florian is correct, and when I have looked at the QL FRN valuations they looked correct to me. Hard to say what Reuters is doing with out seeing the page, but may only be showing the previous fixing rate not the coupon rate. Regards Ben From: Sumit Sengupta <su...@mo...> Sent: Wednesday, 30 September 2020 8:46 AM To: Florian H. <fl...@po...> Cc: QuantLib users <qua...@li...> Subject: Re: [Quantlib-users] Unable to explain this strange behaviour for FRN Thanks Florian. That might be it! Looking at Reuters ( where they don't apply the margin on previous fixing, I was under the impression that QL was doing the same. Regards Sumit On Tue, 29 Sep 2020, 21:41 Florian H., <fl...@po... <mailto:fl...@po...> > wrote: Hi Sumit, I am not very familiar with this topic, but I can see that you added a spread of 0.8%. I think the total rate of the FRN is therefore 0.33% + 0.8% = 1.13%. Thus, a quarterly coupon should be somewhere around 1.13/4 = 0.2825 USD. Hope this helps. Best regards, Florian Am 29.09.2020 21:51 schrieb Sumit Sengupta: > Hi, > > Would really appreciate it if someone can please comment on where > I am going wrong... > I am creating a simple FRN as below > > index = Euribor6M(forecast_curve) > # add the fixing > INDEX.ADDFIXING(DATE(5, 8, 2020), 0.33/100) > > self.ql_bond_frn = ql.FloatingRateBond( > settlementDays=2, > faceAmount=100, > schedule=schedule, > index=index, > SPREADS=[0.8/100], > paymentDayCounter=ActualActual(), > paymentConvention=ModifiedFollowing, > redemption=100, > ) > > aa=[(c.date(), c.amount()) for c in self.ql_bond_frn.cashflows() if > c.date() > self.value_date] > > I would expect the first cashflow to be simply 0.33*0.25 as this is a > quarterly floater. So it should be close to 0.0825 > > However, when I see the list aa with the cash flow amount, I see the > first entry as 0.28 > > Any thoughts? > > THANKS, > SUMIT > > -- > > Mosaic Smart Data > > mobile +44 (0)7961839363 > su...@mo... <mailto:su...@mo...> > 25 Finsbury Circus ▫ EC2M 7EE ▫ London ▫ United Kingdom > > www.mosaicsmartdata.com <http://www.mosaicsmartdata.com> [1] > > Links: > ------ > [1] http://www.mosaicsmartdata.com/ > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... <mailto:Qua...@li...> > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Sumit S. <su...@mo...> - 2020-09-29 22:45:59
|
Thanks Florian. That might be it! Looking at Reuters ( where they don't apply the margin on previous fixing, I was under the impression that QL was doing the same. Regards Sumit On Tue, 29 Sep 2020, 21:41 Florian H., <fl...@po...> wrote: > Hi Sumit, > > I am not very familiar with this topic, but I can see that you added a > spread of 0.8%. I think the total rate of the FRN is therefore 0.33% + > 0.8% = 1.13%. Thus, a quarterly coupon should be somewhere around 1.13/4 > = 0.2825 USD. > Hope this helps. > > Best regards, > Florian > > Am 29.09.2020 21:51 schrieb Sumit Sengupta: > > Hi, > > > > Would really appreciate it if someone can please comment on where > > I am going wrong... > > I am creating a simple FRN as below > > > > index = Euribor6M(forecast_curve) > > # add the fixing > > INDEX.ADDFIXING(DATE(5, 8, 2020), 0.33/100) > > > > self.ql_bond_frn = ql.FloatingRateBond( > > settlementDays=2, > > faceAmount=100, > > schedule=schedule, > > index=index, > > SPREADS=[0.8/100], > > paymentDayCounter=ActualActual(), > > paymentConvention=ModifiedFollowing, > > redemption=100, > > ) > > > > aa=[(c.date(), c.amount()) for c in self.ql_bond_frn.cashflows() if > > c.date() > self.value_date] > > > > I would expect the first cashflow to be simply 0.33*0.25 as this is a > > quarterly floater. So it should be close to 0.0825 > > > > However, when I see the list aa with the cash flow amount, I see the > > first entry as 0.28 > > > > Any thoughts? > > > > THANKS, > > SUMIT > > > > -- > > > > Mosaic Smart Data > > > > mobile +44 (0)7961839363 > > su...@mo... > > 25 Finsbury Circus ▫ EC2M 7EE ▫ London ▫ United Kingdom > > > > www.mosaicsmartdata.com [1] > > > > Links: > > ------ > > [1] http://www.mosaicsmartdata.com/ > > > > _______________________________________________ > > QuantLib-users mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |
|
From: Florian H. <fl...@po...> - 2020-09-29 20:41:35
|
Hi Sumit, I am not very familiar with this topic, but I can see that you added a spread of 0.8%. I think the total rate of the FRN is therefore 0.33% + 0.8% = 1.13%. Thus, a quarterly coupon should be somewhere around 1.13/4 = 0.2825 USD. Hope this helps. Best regards, Florian Am 29.09.2020 21:51 schrieb Sumit Sengupta: > Hi, > > Would really appreciate it if someone can please comment on where > I am going wrong... > I am creating a simple FRN as below > > index = Euribor6M(forecast_curve) > # add the fixing > INDEX.ADDFIXING(DATE(5, 8, 2020), 0.33/100) > > self.ql_bond_frn = ql.FloatingRateBond( > settlementDays=2, > faceAmount=100, > schedule=schedule, > index=index, > SPREADS=[0.8/100], > paymentDayCounter=ActualActual(), > paymentConvention=ModifiedFollowing, > redemption=100, > ) > > aa=[(c.date(), c.amount()) for c in self.ql_bond_frn.cashflows() if > c.date() > self.value_date] > > I would expect the first cashflow to be simply 0.33*0.25 as this is a > quarterly floater. So it should be close to 0.0825 > > However, when I see the list aa with the cash flow amount, I see the > first entry as 0.28 > > Any thoughts? > > THANKS, > SUMIT > > -- > > Mosaic Smart Data > > mobile +44 (0)7961839363 > su...@mo... > 25 Finsbury Circus ▫ EC2M 7EE ▫ London ▫ United Kingdom > > www.mosaicsmartdata.com [1] > > Links: > ------ > [1] http://www.mosaicsmartdata.com/ > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Luigi B. <lui...@gm...> - 2020-09-29 20:31:03
|
Can you post the rest of the setup, that is, the construction of the schedule and the evaluation date? Luigi On Tue, Sep 29, 2020 at 9:54 PM Sumit Sengupta <su...@mo...> wrote: > Hi, > > Would really appreciate it if someone can please comment on where I am > going wrong... > I am creating a simple FRN as below > > index = Euribor6M(forecast_curve) > # add the fixing > *index.addFixing(Date(5, 8, 2020), 0.33/100)* > > self.ql_bond_frn = ql.FloatingRateBond( > settlementDays=2, > faceAmount=100, > schedule=schedule, > index=index, > *spreads=[0.8/100],* > paymentDayCounter=ActualActual(), > paymentConvention=ModifiedFollowing, > redemption=100, > ) > > aa=[(c.date(), c.amount()) for c in self.ql_bond_frn.cashflows() if > c.date() > self.value_date] > > I would expect the first cashflow to be simply 0.33*0.25 as this is a > quarterly floater. So it should be close to *0.0825* > > However, when I see the list aa with the cash flow amount, I see the first > entry as *0.28* > > Any thoughts? > > *Thanks,* > *Sumit* > > -- > Mosaic Smart Data > > mobile +44 (0)7961839363 > su...@mo... > 25 Finsbury Circus ▫ EC2M 7EE ▫ London ▫ United Kingdom > www.mosaicsmartdata.com > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > |
|
From: Sumit S. <su...@mo...> - 2020-09-29 19:51:30
|
Hi,
Would really appreciate it if someone can please comment on where I am
going wrong...
I am creating a simple FRN as below
index = Euribor6M(forecast_curve)
# add the fixing
*index.addFixing(Date(5, 8, 2020), 0.33/100)*
self.ql_bond_frn = ql.FloatingRateBond(
settlementDays=2,
faceAmount=100,
schedule=schedule,
index=index,
*spreads=[0.8/100],*
paymentDayCounter=ActualActual(),
paymentConvention=ModifiedFollowing,
redemption=100,
)
aa=[(c.date(), c.amount()) for c in self.ql_bond_frn.cashflows() if
c.date() > self.value_date]
I would expect the first cashflow to be simply 0.33*0.25 as this is a
quarterly floater. So it should be close to *0.0825*
However, when I see the list aa with the cash flow amount, I see the first
entry as *0.28*
Any thoughts?
*Thanks,*
*Sumit*
--
Mosaic Smart Data
mobile +44 (0)7961839363
su...@mo...
25 Finsbury Circus ▫ EC2M 7EE ▫ London ▫ United Kingdom
www.mosaicsmartdata.com
|
|
From: Peter C. <pca...@gm...> - 2020-09-25 19:12:15
|
Hi Christofer, there are some explanations given in the note under the link below. Hope that helps, if you have further questions, just post them here. Thanks Peter On Fri, 25 Sep 2020 at 21:10, Peter Caspers <pca...@gm...> wrote: > > Hi Christofer, > > there are some explanations > > https://ssrn.com/abstract=2183721 > > On Fri, 25 Sep 2020 at 20:54, Christofer Bogaso > <bog...@gm...> wrote: > > > > Hi, > > > > I have raised this question elsewhere, however failed to generate any > > feedback, so hoping experts here may provide some good insights. > > > > I was looking at the input parameters of the class - > > Gaussian1dSwaptionEngine, as in > > https://rkapl123.github.io/QLAnnotatedSource/d2/db3/class_quant_lib_1_1_gaussian1d_swaption_engine.html > > > > In this definition, there are few parameters - > > > > integrationPoints > > stddevs > > extrapolatePayoff > > flatPayoffExtrapolation > > probabilities > > > > Can you please help me to understand the meaning of these parameters? > > Any link to the technical specification of this implementation will be > > highly helpful. > > > > Thanks for your help and time. > > > > > > _______________________________________________ > > QuantLib-users mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Peter C. <pca...@gm...> - 2020-09-25 19:10:54
|
Hi Christofer, there are some explanations https://ssrn.com/abstract=2183721 On Fri, 25 Sep 2020 at 20:54, Christofer Bogaso <bog...@gm...> wrote: > > Hi, > > I have raised this question elsewhere, however failed to generate any > feedback, so hoping experts here may provide some good insights. > > I was looking at the input parameters of the class - > Gaussian1dSwaptionEngine, as in > https://rkapl123.github.io/QLAnnotatedSource/d2/db3/class_quant_lib_1_1_gaussian1d_swaption_engine.html > > In this definition, there are few parameters - > > integrationPoints > stddevs > extrapolatePayoff > flatPayoffExtrapolation > probabilities > > Can you please help me to understand the meaning of these parameters? > Any link to the technical specification of this implementation will be > highly helpful. > > Thanks for your help and time. > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Christofer B. <bog...@gm...> - 2020-09-25 18:53:33
|
Hi, I have raised this question elsewhere, however failed to generate any feedback, so hoping experts here may provide some good insights. I was looking at the input parameters of the class - Gaussian1dSwaptionEngine, as in https://rkapl123.github.io/QLAnnotatedSource/d2/db3/class_quant_lib_1_1_gaussian1d_swaption_engine.html In this definition, there are few parameters - integrationPoints stddevs extrapolatePayoff flatPayoffExtrapolation probabilities Can you please help me to understand the meaning of these parameters? Any link to the technical specification of this implementation will be highly helpful. Thanks for your help and time. |
|
From: Ioannis R. <qua...@de...> - 2020-09-25 10:22:03
|
There is one in C++. On 25/09/2020 10:15, Amine Ifri wrote: > Hi, > > Haven’t seen VarSwap instrument interface so I am not sure they are > currently handled by the library. I use an old version of the lib > though... > > Thanks. > > Amine Ifri > >> On 25 Sep 2020, at 04:23, Pierre Dugland <mer...@gm...> >> wrote: >> >> >> Hello All, >> >> Re-upping as I didn't get any replies the first time :) >> Still looking for a way to price variance swaps using Python >> Quantlib. Is it possible and if it is, where could I find an example ? >> >> Thank you for your help. >> >> Best, >> >> Pierre >> >> >> >> On Mon, Aug 3, 2020 at 9:32 AM Pierre Dugland >> <mer...@gm... <mailto:mer...@gm...>> wrote: >> >> Hello All, >> >> I could not find an example to price volatility and variance >> swaps. Is it at all possible using the Python bindings ? >> Ideally I am also looking for the capped versions of both those >> products. >> >> Thank you for your help. >> >> Best, >> >> Pierre >> >> _______________________________________________ >> QuantLib-users mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
|
From: Christofer B. <bog...@gm...> - 2020-09-25 09:19:36
|
I am also closely following up this post, it would be great if we can have this functionality on Variance swaps with cap/floor functionalities as well as swaption on such swaps contract. Many thanks, On Fri, Sep 25, 2020 at 1:47 PM Amine Ifri <ami...@gm...> wrote: > > Hi, > > Haven’t seen VarSwap instrument interface so I am not sure they are currently handled by the library. I use an old version of the lib though... > > Thanks. > > Amine Ifri > > On 25 Sep 2020, at 04:23, Pierre Dugland <mer...@gm...> wrote: > > > Hello All, > > Re-upping as I didn't get any replies the first time :) > Still looking for a way to price variance swaps using Python Quantlib. Is it possible and if it is, where could I find an example ? > > Thank you for your help. > > Best, > > Pierre > > > > On Mon, Aug 3, 2020 at 9:32 AM Pierre Dugland <mer...@gm...> wrote: >> >> Hello All, >> >> I could not find an example to price volatility and variance swaps. Is it at all possible using the Python bindings ? >> Ideally I am also looking for the capped versions of both those products. >> >> Thank you for your help. >> >> Best, >> >> Pierre > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Amine I. <ami...@gm...> - 2020-09-25 08:16:00
|
Hi, Haven’t seen VarSwap instrument interface so I am not sure they are currently handled by the library. I use an old version of the lib though... Thanks. Amine Ifri > On 25 Sep 2020, at 04:23, Pierre Dugland <mer...@gm...> wrote: > > > Hello All, > > Re-upping as I didn't get any replies the first time :) > Still looking for a way to price variance swaps using Python Quantlib. Is it possible and if it is, where could I find an example ? > > Thank you for your help. > > Best, > > Pierre > > > >> On Mon, Aug 3, 2020 at 9:32 AM Pierre Dugland <mer...@gm...> wrote: >> Hello All, >> >> I could not find an example to price volatility and variance swaps. Is it at all possible using the Python bindings ? >> Ideally I am also looking for the capped versions of both those products. >> >> Thank you for your help. >> >> Best, >> >> Pierre > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users |
|
From: Pierre D. <mer...@gm...> - 2020-09-25 03:22:45
|
Hello All, Re-upping as I didn't get any replies the first time :) Still looking for a way to price variance swaps using Python Quantlib. Is it possible and if it is, where could I find an example ? Thank you for your help. Best, Pierre On Mon, Aug 3, 2020 at 9:32 AM Pierre Dugland <mer...@gm...> wrote: > Hello All, > > I could not find an example to price volatility and variance swaps. Is it > at all possible using the Python bindings ? > Ideally I am also looking for the capped versions of both those products. > > Thank you for your help. > > Best, > > Pierre > |
|
From: <mat...@gm...> - 2020-09-24 18:11:06
|
While I am probably not the best person to give advice on this matter, here is something to potentially add to the discussion: Choice between approach 1 or 2: Maybe this can be depending on the bond/issuer rating. For IG, discounting with spreaded curves may be okay while for HY you want to use a term structure implied from CDS. This question reminds me of https://arxiv.org/abs/0912.4623 - a dated paper, but could be still useful? Implementation: Maybe you can (re-) use ORE’s QuantLib extension which brings this one: https://github.com/OpenSourceRisk/Engine/blob/master/QuantExt/qle/pricingengines/discountingriskybondengine.cpp Pros/Cons: Depending on your portfolio of bonds, it may be challenging to find a suitable CDS (or CDS sector) curve. https://www.nomura.com/resources/europe/pdfs/cva-cross-section.pdf comes to mind and a number of papers that cite this one. Also I wonder how you determine the CDS/bond basis (the arXiv paper picks up on this). Best regards, Matthias From: Philippe Hatstadt <phi...@ex...> Sent: Thursday, 24 September 2020 18:56 To: QuantLib users <qua...@li...> Subject: [Quantlib-users] Corporate bond analytics approach I am looking to develop a quantitative infrastructure for corporate bonds. As I see it, there are two ways to proceed as below. I am asking this group whether my summary of these two options is accurate or whether there are better approaches? Approach 1: Simple Interpolated Spread Curve Under this approach, bond cash flows would be discounted at UST + spread, from a curve built by shifting a QL UST curve by a bond specific corporate z-spread. In turn, such corporate z-spread would be interpolated from a z-spread curve, itself calibrated by a set of benchmark corporate bonds. Approach 2: CDS / Hazard Rate Curve This approach would first use existing QL CDS helpers and hazard rate curves to calibrate such curve to observable CDS quotes. In turn, a corporate bond could be repriced by adding a "basis" spread on top of the CDS curve. However, while QL appears to have a full set of methods and classes for CDS and hazard rate curves, it doesn't seem to have any analytics or methods to price corporate bonds on top of a CDS curve as described above Respective Methods Pros and Cons: All else equal, I would favor Approach 2 because it allows both bonds and credit derivatives to be priced and risk managed, as CDS curves are conveniently available on standardized IMM dates. However, that requires the layer of corporate bond analytics and classes on top of a hazard curve that I do not believe exists in QL. I am probably missing something, so most curious about what QL users think about this particular problem? Philippe Hatstadt Brokerage services offered through Exos Securities LLC, member of <http://www.sipc.org/> SIPC / <http://www.finra.org/> FINRA. For important disclosures, <https://www.exosfinancial.com/disclosures> click here. |
|
From: Philippe H. <phi...@ex...> - 2020-09-24 16:56:07
|
I am looking to develop a quantitative infrastructure for corporate bonds. As I see it, there are two ways to proceed as below. I am asking this group whether my summary of these two options is accurate or whether there are better approaches? Approach 1: Simple Interpolated Spread Curve Under this approach, bond cash flows would be discounted at UST + spread, from a curve built by shifting a QL UST curve by a bond specific corporate z-spread. In turn, such corporate z-spread would be interpolated from a z-spread curve, itself calibrated by a set of benchmark corporate bonds. Approach 2: CDS / Hazard Rate Curve This approach would first use existing QL CDS helpers and hazard rate curves to calibrate such curve to observable CDS quotes. In turn, a corporate bond could be repriced by adding a "basis" spread on top of the CDS curve. However, while QL appears to have a full set of methods and classes for CDS and hazard rate curves, it doesn't seem to have any analytics or methods to price corporate bonds on top of a CDS curve as described above Respective Methods Pros and Cons: All else equal, I would favor Approach 2 because it allows both bonds and credit derivatives to be priced and risk managed, as CDS curves are conveniently available on standardized IMM dates. However, that requires the layer of corporate bond analytics and classes on top of a hazard curve that I do not believe exists in QL. I am probably missing something, so most curious about what QL users think about this particular problem? Philippe Hatstadt -- Brokerage services offered through Exos Securities LLC, member of SIPC <http://www.sipc.org/> / FINRA <http://www.finra.org/>. For important disclosures, click here <https://www.exosfinancial.com/disclosures>. |
|
From: Josep R. <jos...@gm...> - 2020-09-24 00:34:06
|
Hello Jean-Philippe, I think it would be easier if you use Docker. In any case I will try to update the README with the installation instructions to make it easier, once I have updated them feel free to contact me directly if you are not able to make it work and I will be happy to help. Thanks! Josep On Wed, Sep 23, 2020 at 4:53 PM Jean-Philippe Guichard ( jph...@gm...) <jph...@gm...> wrote: > Thanks Josep. This is very helpful as it is very close to what I would > like. > Sorry I am very new with C++ and Cmake. I tried to google a bit but so far > it's beyond my understanding. > > I have an issue building quantraserver with "C1083: cannot open include > file: 'ql/quantlib.hpp': No such file or directory'. > Where do I put the information about Quantlib directory ? > > Best, > JP > > On Mon, Sep 21, 2020 at 1:59 AM Josep Rubió <jos...@gm...> wrote: > >> https://quantra.io/ is an initial implementation of a REST wrapper for >> QuantLib. You can either use it online or download the sources. It can >> price bonds, swaps, options and create curves. I have not worked on it for >> a while and the API docs are missing the options part, but if you would >> need to add something let me know and I could spend some time on it. >> >> Josep >> >> On Sun, Sep 20, 2020, 17:13 Philippe Hatstadt < >> phi...@ex...> wrote: >> >>> You may want to look into ORE (Quaternion) which is an open source QL >>> extension. >>> They use XML for certain aspects of the trilogy of mkt data+transaction >>> data+static data. >>> >>> Philippe Hatstadt >>> >>> >>> On Sun, Sep 20, 2020 at 5:25 PM Jean-Philippe Guichard ( >>> jph...@gm...) <jph...@gm...> wrote: >>> >>>> Hello, >>>> >>>> I am quite new to quantlib and I was wondering if there was a xml >>>> interface of quantlib to describe the market data, payoffs, models for each >>>> underlier, pricing methodology, pricing command ? >>>> >>>> With this xml description (or json), Quantlib would be able to read the >>>> xml and finds all the information needed to: >>>> - book the payoff >>>> - associate the pricing engine to each payoff >>>> - associate the stochastic process to the underlier >>>> - set the fixing >>>> - calibrate the curve >>>> - calibrate the model >>>> and I would only need to modify in a text editor the xml file [changing >>>> the underlying level, the volatility, the payoff] to see the results >>>> instead of having to go through the quite complex cpp implementation of >>>> quantlib. >>>> >>>> Best, >>>> Jean-Philippe >>>> _______________________________________________ >>>> QuantLib-users mailing list >>>> Qua...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>> >>> >>> >>> >>> Brokerage services offered through Exos Securities LLC, member of SIPC >>> <http://www.sipc.org/> / FINRA <http://www.finra.org/>. For important >>> disclosures, click here <https://www.exosfinancial.com/disclosures>. >>> _______________________________________________ >>> QuantLib-users mailing list >>> Qua...@li... >>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>> >> |
|
From: Jean-Philippe G. (<jph...@gm...>
<jph...@gm...> - 2020-09-23 21:54:16
|
Thanks Josep. This is very helpful as it is very close to what I would like. Sorry I am very new with C++ and Cmake. I tried to google a bit but so far it's beyond my understanding. I have an issue building quantraserver with "C1083: cannot open include file: 'ql/quantlib.hpp': No such file or directory'. Where do I put the information about Quantlib directory ? Best, JP On Mon, Sep 21, 2020 at 1:59 AM Josep Rubió <jos...@gm...> wrote: > https://quantra.io/ is an initial implementation of a REST wrapper for > QuantLib. You can either use it online or download the sources. It can > price bonds, swaps, options and create curves. I have not worked on it for > a while and the API docs are missing the options part, but if you would > need to add something let me know and I could spend some time on it. > > Josep > > On Sun, Sep 20, 2020, 17:13 Philippe Hatstadt < > phi...@ex...> wrote: > >> You may want to look into ORE (Quaternion) which is an open source QL >> extension. >> They use XML for certain aspects of the trilogy of mkt data+transaction >> data+static data. >> >> Philippe Hatstadt >> >> >> On Sun, Sep 20, 2020 at 5:25 PM Jean-Philippe Guichard ( >> jph...@gm...) <jph...@gm...> wrote: >> >>> Hello, >>> >>> I am quite new to quantlib and I was wondering if there was a xml >>> interface of quantlib to describe the market data, payoffs, models for each >>> underlier, pricing methodology, pricing command ? >>> >>> With this xml description (or json), Quantlib would be able to read the >>> xml and finds all the information needed to: >>> - book the payoff >>> - associate the pricing engine to each payoff >>> - associate the stochastic process to the underlier >>> - set the fixing >>> - calibrate the curve >>> - calibrate the model >>> and I would only need to modify in a text editor the xml file [changing >>> the underlying level, the volatility, the payoff] to see the results >>> instead of having to go through the quite complex cpp implementation of >>> quantlib. >>> >>> Best, >>> Jean-Philippe >>> _______________________________________________ >>> QuantLib-users mailing list >>> Qua...@li... >>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>> >> >> >> >> Brokerage services offered through Exos Securities LLC, member of SIPC >> <http://www.sipc.org/> / FINRA <http://www.finra.org/>. For important >> disclosures, click here <https://www.exosfinancial.com/disclosures>. >> _______________________________________________ >> QuantLib-users mailing list >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-users >> > |