#include <qle/models/carrmadanarbitragecheck.hpp>
Collaboration diagram for CarrMadanMarginalProbabilitySafeStrikes:Public Member Functions | |
| CarrMadanMarginalProbabilitySafeStrikes (const std::vector< Real > &strikes, const Real forward, const std::vector< Real > &callPrices, const VolatilityType volType=ShiftedLognormal, const Real shift=0.0) | |
| const std::vector< Real > & | strikes () const |
| Real | forward () const |
| const std::vector< Real > & | callPrices () const |
| VolatilityType | volatilityType () const |
| Real | shift () const |
| bool | arbitrageFree () const |
| const std::vector< bool > & | callSpreadArbitrage () const |
| const std::vector< bool > & | butterflyArbitrage () const |
| const std::vector< Real > & | density () const |
Private Attributes | |
| std::vector< Real > | strikes_ |
| Real | forward_ |
| std::vector< Real > | callPrices_ |
| VolatilityType | volType_ |
| Real | shift_ |
| std::vector< bool > | validStrike_ |
| std::vector< bool > | callSpreadArbitrage_ |
| std::vector< bool > | butterflyArbitrage_ |
| std::vector< Real > | q_ |
| bool | smileIsArbitrageFree_ |
Definition at line 68 of file carrmadanarbitragecheck.hpp.
| CarrMadanMarginalProbabilitySafeStrikes | ( | const std::vector< Real > & | strikes, |
| const Real | forward, | ||
| const std::vector< Real > & | callPrices, | ||
| const VolatilityType | volType = ShiftedLognormal, |
||
| const Real | shift = 0.0 |
||
| ) |
The callPrices should be non-discounted
Definition at line 274 of file carrmadanarbitragecheck.cpp.
Here is the call graph for this function:| const std::vector< Real > & strikes | ( | ) | const |
Definition at line 363 of file carrmadanarbitragecheck.cpp.
Here is the caller graph for this function:| Real forward | ( | ) | const |
Definition at line 364 of file carrmadanarbitragecheck.cpp.
Here is the caller graph for this function:| const std::vector< Real > & callPrices | ( | ) | const |
Definition at line 365 of file carrmadanarbitragecheck.cpp.
| VolatilityType volatilityType | ( | ) | const |
Definition at line 366 of file carrmadanarbitragecheck.cpp.
| Real shift | ( | ) | const |
Definition at line 367 of file carrmadanarbitragecheck.cpp.
Here is the caller graph for this function:| bool arbitrageFree | ( | ) | const |
Definition at line 369 of file carrmadanarbitragecheck.cpp.
| const std::vector< bool > & callSpreadArbitrage | ( | ) | const |
Definition at line 371 of file carrmadanarbitragecheck.cpp.
| const std::vector< bool > & butterflyArbitrage | ( | ) | const |
Definition at line 374 of file carrmadanarbitragecheck.cpp.
| const std::vector< Real > & density | ( | ) | const |
Definition at line 377 of file carrmadanarbitragecheck.cpp.
|
private |
Definition at line 88 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 89 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 90 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 91 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 92 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 94 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 96 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 96 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 97 of file carrmadanarbitragecheck.hpp.
|
private |
Definition at line 98 of file carrmadanarbitragecheck.hpp.