Open laj007 opened 2 years ago
Thanks for posting! It might take a while before we look at your issue, so don't worry if there seems to be no feedback. We'll get to it.
This issue was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.
This issue was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.
This issue was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.
what you get using mathworks. https://www.mathworks.com/help/fininst/cdsoptprice.html Click Button "Try This example" https://www.mathworks.com/help/fininst/cdsoptprice.html#cdsoptprice_example1
I think you should be using knocksOut=False. There is no knockout for indices.
Hello - I'm trying to use CdsOption in order to price CDS payer/receiver options. Been through pretty much everything online, but still can't match what I see in BBG's CDSO function.
For instance, with valuation date 4/1/2022, reference spread 66bps, strike 75bps, expiry 6/15/2022, and vol 50%, one should see a price in the 0.1687 area. The way I do it (see below) gets me closer to 0.1272 (NPV). Similarly my forward spread is off too (~65.4bps vs BBG's ~68.2bps).
I'm using all usual input (e.g. discount curve) that prices/matches the underlying CDS perfectly, so am quite sure the issue is not on that front, but rather in the logic I'm using.
For instance, I get a little confused as to how to specify the strike given it's not an explicit input in CdsOption. Another potential source of issue is that CdsOption seems to only take CDS defined on a running-spread basis rather than conventional pricing.
Code below.
Thanks so much for the help !