QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <lineartsrpricer.hpp>
Public Types | |
enum | Strategy { RateBound , VegaRatio , PriceThreshold , BSStdDevs } |
Public Member Functions | |
Settings () | |
Settings & | withRateBound (const Real lowerRateBound=defaultLowerBound, const Real upperRateBound=defaultUpperBound) |
Settings & | withVegaRatio (const Real vegaRatio=0.01) |
Settings & | withVegaRatio (const Real vegaRatio, const Real lowerRateBound, const Real upperRateBound) |
Settings & | withPriceThreshold (const Real priceThreshold=1.0E-8) |
Settings & | withPriceThreshold (const Real priceThreshold, const Real lowerRateBound, const Real upperRateBound) |
Settings & | withBSStdDevs (const Real stdDevs=3.0) |
Settings & | withBSStdDevs (const Real stdDevs, const Real lowerRateBound, const Real upperRateBound) |
Public Attributes | |
Strategy | strategy_ = RateBound |
Real | vegaRatio_ = 0.01 |
Real | priceThreshold_ = 1.0E-8 |
Real | stdDevs_ = 3.0 |
Real | lowerRateBound_ |
Real | upperRateBound_ |
bool | defaultBounds_ = true |
Definition at line 72 of file lineartsrpricer.hpp.
enum Strategy |
Enumerator | |
---|---|
RateBound | |
VegaRatio | |
PriceThreshold | |
BSStdDevs |
Definition at line 145 of file lineartsrpricer.hpp.
Settings | ( | ) |
Definition at line 74 of file lineartsrpricer.hpp.
Settings & withRateBound | ( | const Real | lowerRateBound = defaultLowerBound , |
const Real | upperRateBound = defaultUpperBound |
||
) |
Definition at line 76 of file lineartsrpricer.hpp.
Definition at line 85 of file lineartsrpricer.hpp.
Settings & withVegaRatio | ( | const Real | vegaRatio, |
const Real | lowerRateBound, | ||
const Real | upperRateBound | ||
) |
Definition at line 94 of file lineartsrpricer.hpp.
Definition at line 105 of file lineartsrpricer.hpp.
Settings & withPriceThreshold | ( | const Real | priceThreshold, |
const Real | lowerRateBound, | ||
const Real | upperRateBound | ||
) |
Definition at line 114 of file lineartsrpricer.hpp.
Definition at line 125 of file lineartsrpricer.hpp.
Settings & withBSStdDevs | ( | const Real | stdDevs, |
const Real | lowerRateBound, | ||
const Real | upperRateBound | ||
) |
Definition at line 134 of file lineartsrpricer.hpp.
Definition at line 152 of file lineartsrpricer.hpp.
Real vegaRatio_ = 0.01 |
Definition at line 153 of file lineartsrpricer.hpp.
Real priceThreshold_ = 1.0E-8 |
Definition at line 154 of file lineartsrpricer.hpp.
Real stdDevs_ = 3.0 |
Definition at line 155 of file lineartsrpricer.hpp.
Real lowerRateBound_ |
Definition at line 156 of file lineartsrpricer.hpp.
Real upperRateBound_ |
Definition at line 156 of file lineartsrpricer.hpp.
bool defaultBounds_ = true |
Definition at line 157 of file lineartsrpricer.hpp.