|
| | DoubleBarrierOptionWrapper (const QuantLib::ext::shared_ptr< QuantLib::Instrument > &inst, const bool isLongOption, const QuantLib::Date &exerciseDate, const bool isPhysicalDelivery, const QuantLib::ext::shared_ptr< QuantLib::Instrument > &undInst, DoubleBarrier::Type barrierType, Handle< Quote > spot, Real barrierLow, Real barrierHigh, Real rebate, const QuantLib::Currency ccy, const QuantLib::Date &startDate, const QuantLib::ext::shared_ptr< QuantLib::Index > &index, const QuantLib::Calendar &calendar, const Real multiplier=1.0, const Real undMultiplier=1.0, const std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > > &additionalInstruments=std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > >(), const std::vector< Real > &additionalMultipliers=std::vector< Real >()) |
| |
| bool | checkBarrier (Real spot, bool isTouchingOnly) const override |
| |
| bool | exercise () const override |
| |
| | BarrierOptionWrapper (const QuantLib::ext::shared_ptr< QuantLib::Instrument > &inst, const bool isLongOption, const QuantLib::Date &exerciseDate, const bool isPhysicalDelivery, const QuantLib::ext::shared_ptr< QuantLib::Instrument > &undInst, Barrier::Type barrierType, Handle< Quote > spot, Real rebate, const QuantLib::Currency ccy, const QuantLib::Date &startDate, const QuantLib::ext::shared_ptr< QuantLib::Index > &index, const QuantLib::Calendar &calendar, const Real multiplier=1.0, const Real undMultiplier=1.0, const std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > > &additionalInstruments=std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > >(), const std::vector< Real > &additionalMultipliers=std::vector< Real >()) |
| |
| const std::map< std::string, boost::any > & | additionalResults () const override |
| | Return the additional results of this instrument. More...
|
| |
| virtual bool | checkBarrier (Real, bool) const =0 |
| |
| | OptionWrapper (const QuantLib::ext::shared_ptr< QuantLib::Instrument > &inst, const bool isLongOption, const std::vector< QuantLib::Date > &exerciseDate, const bool isPhysicalDelivery, const std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > > &undInst, const Real multiplier=1.0, const Real undMultiplier=1.0, const std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > > &additionalInstruments=std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > >(), const std::vector< Real > &additionalMultipliers=std::vector< Real >()) |
| | Constructor. More...
|
| |
| void | initialise (const std::vector< QuantLib::Date > &dates) override |
| | Initialise with the given date grid. More...
|
| |
| void | reset () override |
| | reset is called every time a new path is about to be priced. More...
|
| |
| QuantLib::Real | NPV () const override |
| | Return the NPV of this instrument. More...
|
| |
| Real | multiplier2 () const override |
| |
| const std::map< std::string, boost::any > & | additionalResults () const override |
| | Return the additional results of this instrument. More...
|
| |
| void | updateQlInstruments () override |
| | call update on enclosed instrument(s) More...
|
| |
| bool | isOption () override |
| | is it an Option? More...
|
| |
| const std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > > & | underlyingInstruments () const |
| | return the underlying instruments More...
|
| |
| const QuantLib::ext::shared_ptr< QuantLib::Instrument > & | activeUnderlyingInstrument (const bool calculate=false) const |
| |
| bool | isLong () const |
| | return true if option is long, false if option is short More...
|
| |
| bool | isExercised () const |
| | return true if option is exercised More...
|
| |
| bool | isPhysicalDelivery () const |
| | return true for physical delivery, false for cash settlement More...
|
| |
| Real | underlyingMultiplier () const |
| | the underlying multiplier More...
|
| |
| const QuantLib::Date & | exerciseDate () const |
| | the (actual) date the option was exercised More...
|
| |
| void | enableExercise () |
| | disable exercise decisions More...
|
| |
| void | disableExercise () |
| | enable exercise decisions More...
|
| |
| | InstrumentWrapper () |
| |
| | InstrumentWrapper (const QuantLib::ext::shared_ptr< QuantLib::Instrument > &inst, const Real multiplier=1.0, const std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > > &additionalInstruments=std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > >(), const std::vector< Real > &additionalMultipliers=std::vector< Real >()) |
| |
| virtual | ~InstrumentWrapper () |
| |
| virtual void | initialise (const std::vector< QuantLib::Date > &dates)=0 |
| | Initialise with the given date grid. More...
|
| |
| virtual void | reset ()=0 |
| | reset is called every time a new path is about to be priced. More...
|
| |
| virtual QuantLib::Real | NPV () const =0 |
| | Return the NPV of this instrument. More...
|
| |
| virtual const std::map< std::string, boost::any > & | additionalResults () const =0 |
| | Return the additional results of this instrument. More...
|
| |
| QuantLib::Real | additionalInstrumentsNPV () const |
| |
| virtual void | updateQlInstruments () |
| | call update on enclosed instrument(s) More...
|
| |
| virtual bool | isOption () |
| | is it an Option? More...
|
| |
| QuantLib::ext::shared_ptr< QuantLib::Instrument > | qlInstrument (const bool calculate=false) const |
| | Inspectors. More...
|
| |
| Real | multiplier () const |
| |
| virtual Real | multiplier2 () const |
| |
| const std::vector< QuantLib::ext::shared_ptr< QuantLib::Instrument > > & | additionalInstruments () const |
| |
| const std::vector< Real > & | additionalMultipliers () const |
| |
| boost::timer::nanosecond_type | getCumulativePricingTime () const |
| | Get cumulative timing spent on pricing. More...
|
| |
| std::size_t | getNumberOfPricings () const |
| | Get number of pricings. More...
|
| |
| void | resetPricingStats () const |
| | Reset pricing statistics. More...
|
| |
Definition at line 103 of file barrieroptionwrapper.hpp.