Logo
Reference manual - version qle_version
Public Member Functions | List of all members
IterativeBootstrap< Curve > Class Template Reference

#include <qle/termstructures/iterativebootstrap.hpp>

Public Member Functions

 IterativeBootstrap (QuantLib::Real accuracy=QuantLib::Null< QuantLib::Real >(), QuantLib::Real globalAccuracy=QuantLib::Null< QuantLib::Real >(), bool dontThrow=false, QuantLib::Size maxAttempts=1, QuantLib::Real maxFactor=2.0, QuantLib::Real minFactor=2.0, QuantLib::Size dontThrowSteps=10)
 
void setup (Curve *ts)
 
void calculate () const
 

Detailed Description

template<class Curve>
class QuantExt::IterativeBootstrap< Curve >

Straight copy of QuantLib::IterativeBootstrap with the following modifications

Constructor & Destructor Documentation

◆ IterativeBootstrap()

IterativeBootstrap ( QuantLib::Real  accuracy = QuantLib::Null<QuantLib::Real>(),
QuantLib::Real  globalAccuracy = QuantLib::Null<QuantLib::Real>(),
bool  dontThrow = false,
QuantLib::Size  maxAttempts = 1,
QuantLib::Real  maxFactor = 2.0,
QuantLib::Real  minFactor = 2.0,
QuantLib::Size  dontThrowSteps = 10 
)

Constructor

Parameters
accuracyAccuracy for the bootstrap. If Null<Real>(), its value is taken from the termstructure's accuracy.
globalAccuracyAccuracy for the global bootstrap stopping criterion. If it is set to Null<Real>(), its value is taken from the termstructure's accuracy.
dontThrowIf set to true, the bootstrap doesn't throw and returns a fall back result
maxAttemptsNumber of attempts on each iteration. A number greater than implies retries.
maxFactorFactor for max value retry on each iteration if there is a failure.
minFactorFactor for min value retry on each iteration if there is a failure.
dontThrowStepsIf dontThrow is true, this gives the number of steps to use when searching for a fallback curve pillar value that gives the minimum bootstrap helper error.