|
From: Circo G. (DAM) <giu...@de...> - 2010-09-21 07:02:17
|
Hi, you can use qlVanillaSwapFixedLegBPS to compute the dv01 of fixed leg, for convexity I think you have to recalculate it by shifting up and down de curve and then using the following formula: Libor_Convexity = (PV_SWAP_shiftdown + PV_SWAP_shiftup - 2 * PV_SWAP) / (PV_SWAP * 2 * (Rate_BP_Shift_Up / 10000) ^ 2) where Rate_BP_Shift_Up = 1 regards, -----Original Message----- From: ElMariachi [mailto:lo....@gm...] Sent: 20 September 2010 21:16 To: qua...@li... Subject: [Quantlib-users] How can one calculate a Vanilla Swap DV01 / Delta? As a basic risk measure, how can I calculate a vanilla interest rate swap's DV01/Delta and Convexity? -- View this message in context: http://old.nabble.com/How-can-one-calculate-a-Vanilla-Swap-DV01---Delta- -tp29762640p29762640.html Sent from the quantlib-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ 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-users mailing list Qua...@li... https://lists.sourceforge.net/lists/listinfo/quantlib-users |