Posted by
Peter Caspers-4 on
Apr 13, 2015; 8:13am
URL: http://quantlib.414.s1.nabble.com/Asset-swap-spread-calculation-tp16457p16462.html
I set up your example (except I use a simplified yield term structure,
just flat @8bp) and get 13bp, which is quite close to BBG. There are
some details one should pay attention to (like asset swaps are OIS
discounted, the front stub period on the float leg is interpolated in
the index), but you are far off. For further investigation, can you
extract the cashflows from the two legs of your swap ?
On my side I get:
fixed leg
July 20th, 2015;2
July 20th, 2016;2
July 20th, 2016;100
float leg
April 9th, 2015;3.7241
July 20th, 2015;0.0223587
January 20th, 2016;0.0403369
July 20th, 2016;0.0398984
July 20th, 2016;100
Which version of QuanLib is the basis for your dot-net-thing ?
Best regards
Peter
On 13 April 2015 at 08:59, MDecau <
[hidden email]> wrote:
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users