|
From: Miguel T. M. <mig...@bc...> - 2021-08-09 23:02:47
|
Hi I’m new to Quantlib. I have run the example 3 of CDS that reproduces the example of the OpenGamma paper “Pricing and Risk Management of CDS”. When comparing the paper with the output of Quantlib I see that the reproduced yield curve is the same but the credit curve it is not. In fact, the maturity dates of the SpreadCdsHelper are not the IMM dates but the next day, even considering for weekend effects. I have tried changing the DateGenerator and model in the construction of the cdshelpers but have not replicated the expected maturity dates (IMM adjusted for weekend calendar and following business date). Even when directly using the constructed credit curve with the Maturity dates (of table 13) the survival probabilities in quantlib do not coincide. . [cid:image001.png@01D78D28.FCEAE620] [cid:image002.png@01D78D28.FCEAE620] Thanks Miguel El sistema de correo electrónico del Banco de Crédito BCP está destinado únicamente para fines del negocio, cualquier otro uso contraviene las políticas del Banco. Toda la información del negocio contenida en este mensaje es confidencial y de uso exclusivo del Banco de Crédito BCP. Su divulgación, copia y/o adulteración están prohibidas y sólo debe ser conocida por la persona a quien se dirige este mensaje. Si Ud. ha recibido este mensaje por error por favor proceda a eliminarlo y notificar al remitente. El sistema de correo electrónico del Banco de Crédito BCP está destinado únicamente para fines del negocio, cualquier otro uso contraviene las políticas del Banco. Toda la información del negocio contenida en este mensaje es confidencial y de uso exclusivo del Banco de Crédito BCP. Su divulgación, copia y/o adulteración están prohibidas y sólo debe ser conocida por la persona a quien se dirige este mensaje. Si Ud. ha recibido este mensaje por error por favor proceda a eliminarlo y notificar al remitente. |