Bootstrapping Quantlib RateHelper Python/C++ [closed]

I am pretty new in the Quant areaa and using Quantlib. I found the pretty good introductions concerning bootstrapping in the book QuantLib Python Cookbook by Luigi Ballabio. I wanted to understand the RateHelper in detail and the connection to zero pricing (NPV) in the bootstrapping how it works (which classes are used in Quantlib C++), for Deposits, FRA's or Swap's.

Hope the question is not to simple to ask?

closed as unclear what you're asking by Helin, LocalVolatility, JejeBelfort, chollida, Bob Jansen♦Jan 26 '18 at 8:01

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• What is your question, specifically? – g g Jan 20 '18 at 22:04
• I would like to understand Quantlib more. Where is the pricing to zero for the Deposits, FRAs and Swaps in the bootstrapping? Which classes I have to look at and where is the corresponding pricing formula and finding the root? And if possible some examples? Hope it is clearer? – NewNY1990 Jan 21 '18 at 21:32
• What do you mean by the price to zero? – Jose Pedro Melo Jan 22 '18 at 12:56
• @Jose Pedro Melo,Thanks a lot for the answer. During the bootstrapping the adaption of the last DF until NPV close to zero (fair swap at initiation). This is done with both curves (Forward and Discount Curve) Hope it is clear? – NewNY1990 Jan 22 '18 at 13:07

• In short: each of the RateHelper classes contain an instance of the corresponding instrument and their impliedQuote method reprices it. The bootstrap procedure compares the calculated price with the quoted one. But you want to read the longer description. – Luigi Ballabio Jan 25 '18 at 9:20