|
| OptionPriceSurface (const QuantLib::Date &referenceDate, const std::vector< QuantLib::Date > &dates, const std::vector< QuantLib::Real > &strikes, const std::vector< QuantLib::Real > &prices, const QuantLib::DayCounter &dayCounter, const QuantLib::Calendar &calendar=QuantLib::NullCalendar()) |
|
|
QuantLib::Date | maxDate () const override |
|
const QuantLib::Date & | referenceDate () const override |
|
QuantLib::DayCounter | dayCounter () const override |
|
QuantLib::Real | price (QuantLib::Time t, QuantLib::Real strike) const |
|
QuantLib::Real | price (QuantLib::Date d, QuantLib::Real strike) const |
|
| OptionInterpolator2d (const QuantLib::Date &referenceDate, const QuantLib::DayCounter &dayCounter, bool lowerStrikeConstExtrap=true, bool upperStrikeConstExtrap=true, const QuantLib::Linear &interpolatorStrike=QuantLib::Linear(), const QuantLib::Linear &interpolatorExpiry=QuantLib::Linear(), const QuantLib::Date &baseDate=QuantLib::Date()) |
| OptionInterpolator2d default Constructor. More...
|
|
| OptionInterpolator2d (const QuantLib::Date &referenceDate, const QuantLib::DayCounter &dayCounter, const std::vector< QuantLib::Date > &dates, const std::vector< QuantLib::Real > &strikes, const std::vector< QuantLib::Real > &values, bool lowerStrikeConstExtrap=true, bool upperStrikeConstExtrap=true, const QuantLib::Linear &interpolatorStrike=QuantLib::Linear(), const QuantLib::Linear &interpolatorExpiry=QuantLib::Linear(), const QuantLib::Date &baseDate=QuantLib::Date()) |
| OptionInterpolator2d Constructor with dates. More...
|
|
| OptionInterpolator2d (const QuantLib::Date &referenceDate, const QuantLib::Calendar &calendar, const QuantLib::BusinessDayConvention &bdc, const QuantLib::DayCounter &dayCounter, const std::vector< QuantLib::Period > &tenors, const std::vector< QuantLib::Real > &strikes, const std::vector< QuantLib::Real > &values, bool lowerStrikeConstExtrap=true, bool upperStrikeConstExtrap=true, const QuantLib::Linear &interpolatorStrike=QuantLib::Linear(), const QuantLib::Linear &interpolatorExpiry=QuantLib::Linear(), const QuantLib::Date &baseDate=QuantLib::Date()) |
| OptionInterpolator2d Constructor with Tenors. More...
|
|
| OptionInterpolator2d (const OptionInterpolator2d &)=delete |
|
OptionInterpolator2d & | operator= (const OptionInterpolator2d &)=delete |
|
void | initialise (const std::vector< QuantLib::Date > &dates, const std::vector< QuantLib::Real > &strikes, const std::vector< QuantLib::Real > &values) |
| Initialise. More...
|
|
void | initialise (const std::vector< QuantLib::Period > &tenors, const std::vector< QuantLib::Real > &strikes, const std::vector< QuantLib::Real > &values, const QuantLib::Calendar &calendar, const QuantLib::BusinessDayConvention &bdc) |
|
std::vector< QuantLib::Time > | times () const |
|
std::vector< QuantLib::Date > | expiries () const |
|
std::vector< std::vector< QuantLib::Real > > | strikes () const |
|
std::vector< std::vector< QuantLib::Real > > | values () const |
|
QuantLib::DayCounter | dayCounter () const |
|
QuantLib::Real | getValue (QuantLib::Time t, QuantLib::Real strike) const override |
| virtual access methods More...
|
|
QuantLib::Real | getValue (QuantLib::Date d, QuantLib::Real strike) const override |
|
virtual | ~OptionInterpolatorBase () |
|
| OptionInterpolatorBase (const QuantLib::Date &referenceDate) |
|
virtual QuantLib::Real | getValue (QuantLib::Time t, QuantLib::Real strike) const =0 |
| virtual access methods More...
|
|
virtual QuantLib::Real | getValue (QuantLib::Date d, QuantLib::Real strike) const =0 |
|
const QuantLib::Date & | referenceDate () const |
|
std::vector< QuantLib::Time > | times () const |
|
std::vector< QuantLib::Date > | expiries () const |
|
std::vector< std::vector< QuantLib::Real > > | strikes () const |
|
std::vector< std::vector< QuantLib::Real > > | values () const |
|
Option Price Surface based on sparse matrix.
Definition at line 35 of file optionpricesurface.hpp.