2
$\begingroup$

You can treat the FR007 swap like this: The fixed-rate leg is the same as the fixed-rate leg of the LIBOR swap. The floating rate can be treated as the combination of some 3-months maturity compound interest rate bonds. The rate will be reset weekly. I draw a picture and hope this can help me to explain the rule. enter image description here

I am not sure the Quantlib has some function that can deal with a swap like this, can someone give me some ideas?

$\endgroup$

2 Answers 2

1
$\begingroup$

There is no suitable solution to bootstrap China 7D Repo swap right now in QuantLib. You can modify the QL C++ code and rebuild to realize it.

$\endgroup$
0
$\begingroup$

You can by simply modifying the discount factors going back from the maturity date, not each coupon date. This should give you the desired result.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.