The number of contracts to change the DD of a portfolio is the (DTarget – Dcurrent)/DD of instrument used
Since we use only one contract with swaps, we set the number of contracts equal to 1.0:
1 = (DDTarget – DDcurrent)/DDswap
Then convert dollar duration, DD, into value times duration, D:
1 = [DTarget(VP) – Dcurrent(VP)] / DS(NP) → (VP) (DTarget – Dcurrent) / DS(NP)
If we then rearrange the equation by moving NP to the other side we get…
NP = (VP)(DTarget – Dcurrent) / DS
With the target duration = 2 X current portfolio duration with the swap having the same duration as the current portfolio we then have
NP = (VP)(2DTarget – Dcurrent) / DS
NP = (VP)(D) / D
NP = VP