Linux Manuals session 3

Section 3: library functions

  • |

    isLongCall (3) Linux Manual Page

    QuantLib::DigitalCoupon – Digital-payoff coupon. Synopsis#include <ql/cashflows/digitalcoupon.hpp> Inherits QuantLib::FloatingRateCoupon. Inherited by DigitalCmsCoupon, and DigitalIborCoupon. Public Member FunctionsConstructors DigitalCoupon (const boost::shared_ptr< FloatingRateCoupon > &underlying, Rate callStrike=Null< Rate >(), Position::Type callPosition=Position::Long, bool isCallITMIncluded=false, Rate callDigitalPayoff=Null< Rate >(), Rate putStrike=Null< Rate >(), Position::Type putPosition=Position::Long, bool isPutITMIncluded=false, Rate putDigitalPayoff=Null< Rate >(), const boost::shared_ptr< DigitalReplication > &replication=boost::shared_ptr< DigitalReplication >()) general constructor…

  • |

    isLeap (3) Linux Manual Page

    QuantLib::Date – Concrete date class. Synopsis#include <ql/time/date.hpp> Public Member Functionsconstructors Date () Default constructor returning a null date. Date (BigInteger serialNumber) Constructor taking a serial number as given by Applix or Excel. Date (Day d, Month m, Year y) More traditional constructor. inspectors Weekday weekday () const Day dayOfMonth () const Day dayOfYear () const…

  • |

    isIntersectionNonEmpty (3) Linux Manual Page

    QuantLib::SphereCylinderOptimizer – Synopsis#include <ql/math/optimization/spherecylinder.hpp> Public Member FunctionsSphereCylinderOptimizer (Real r, Real s, Real alpha, Real z1, Real z2, Real z3, Real zweight=1.0) bool isIntersectionNonEmpty () const void findClosest (Size maxIterations, Real tolerance, Real &y1, Real &y2, Real &y3) const bool findByProjection (Real &y1, Real &y2, Real &y3) const Detailed Description* we are in r^3 sphere centred…

  • |

    isInSubset_ (3) Linux Manual Page

    QuantLib::MarketModelComposite – Composition of two or more market-model products. Synopsis#include <ql/models/marketmodels/products/compositeproduct.hpp> Inherits QuantLib::MarketModelMultiProduct. Inherited by MultiProductComposite, and SingleProductComposite. Public Member FunctionsMarketModelMultiProduct interface const EvolutionDescription & evolution () const std::vector< Size > suggestedNumeraires () const std::vector< Time > possibleCashFlowTimes () const void reset () during simulation put product at start of path Composite facilities void add…

  • |

    isInRange (3) Linux Manual Page

    QuantLib::Interpolation – base class for 1-D interpolations. Synopsis#include <ql/math/interpolation.hpp> Inherits QuantLib::Extrapolator. Inherited by BackwardFlatInterpolation, ConvexMonotoneInterpolation< I1, I2 >, CubicInterpolation, ForwardFlatInterpolation, LinearInterpolation, LogCubicInterpolation, LogLinearInterpolation, and SABRInterpolation. Classesclass Impl abstract base class for interpolation implementations class templateImpl basic template implementation Public Typestypedef Real argument_type typedef Real result_type Public Member Functionsbool empty () const Real operator() (Real x,…

  • |

    isInArrears_ (3) Linux Manual Page

    QuantLib::FloatingRateCoupon – base floating-rate coupon class Synopsis#include <ql/cashflows/floatingratecoupon.hpp> Inherits QuantLib::Coupon, and QuantLib::Observer. Inherited by AverageBMACoupon, CappedFlooredCoupon, CmsCoupon, DigitalCoupon, IborCoupon, RangeAccrualFloatersCoupon, and SubPeriodsCoupon. Public Member FunctionsFloatingRateCoupon (const Date &paymentDate, const Real nominal, const Date &startDate, const Date &endDate, const Natural fixingDays, const boost::shared_ptr< InterestRateIndex > &index, const Real gearing=1.0, const Spread spread=0.0, const Date &refPeriodStart=Date(), const…

  • |

    isInArrears (3) Linux Manual Page

    QuantLib::FloatingRateCoupon – base floating-rate coupon class Synopsis#include <ql/cashflows/floatingratecoupon.hpp> Inherits QuantLib::Coupon, and QuantLib::Observer. Inherited by AverageBMACoupon, CappedFlooredCoupon, CmsCoupon, DigitalCoupon, IborCoupon, RangeAccrualFloatersCoupon, and SubPeriodsCoupon. Public Member FunctionsFloatingRateCoupon (const Date &paymentDate, const Real nominal, const Date &startDate, const Date &endDate, const Natural fixingDays, const boost::shared_ptr< InterestRateIndex > &index, const Real gearing=1.0, const Spread spread=0.0, const Date &refPeriodStart=Date(), const…

  • |

    isHoliday (3) Linux Manual Page

    QuantLib::Calendar – calendar class Synopsis#include <ql/time/calendar.hpp> Inherited by Argentina, Australia, BespokeCalendar, Brazil, Canada, China, CzechRepublic, Denmark, Finland, Germany, HongKong, Hungary, Iceland, India, Indonesia, Italy, Japan, JointCalendar, Mexico, NewZealand, Norway, NullCalendar, Poland, SaudiArabia, Singapore, Slovakia, SouthAfrica, SouthKorea, Sweden, Switzerland, Taiwan, TARGET, Turkey, Ukraine, UnitedKingdom, and UnitedStates. Classesclass Impl abstract base class for calendar implementations class OrthodoxImpl…

  • |

    isFull (3) Linux Manual Page

    QuantLib::VegaBumpCollection – Synopsis#include <ql/models/marketmodels/pathwisegreeks/vegabumpcluster.hpp> Public Member FunctionsVegaBumpCollection (const boost::shared_ptr< MarketModel > &volStructure, bool allowFactorwiseBumping=true) VegaBumpCollection (const std::vector< VegaBumpCluster > &allBumps, const boost::shared_ptr< MarketModel > &volStructure) Size numberBumps () const const boost::shared_ptr< MarketModel > & associatedModel () const const std::vector< VegaBumpCluster > & allBumps () const bool isFull () const bool isNonOverlapping () const bool isSensible…

  • |

    isFloored_ (3) Linux Manual Page

    QuantLib::CappedFlooredCoupon – Capped and/or floored floating-rate coupon. Synopsis#include <ql/cashflows/capflooredcoupon.hpp> Inherits QuantLib::FloatingRateCoupon. Inherited by CappedFlooredCmsCoupon, and CappedFlooredIborCoupon. Public Member FunctionsCappedFlooredCoupon (const boost::shared_ptr< FloatingRateCoupon > &underlying, Rate cap=Null< Rate >(), Rate floor=Null< Rate >()) Rate cap () const cap Rate floor () const floor Rate effectiveCap () const effective cap of fixing Rate effectiveFloor () const effective…

  • |

    isFloored (3) Linux Manual Page

    QuantLib::CappedFlooredCoupon – Capped and/or floored floating-rate coupon. Synopsis#include <ql/cashflows/capflooredcoupon.hpp> Inherits QuantLib::FloatingRateCoupon. Inherited by CappedFlooredCmsCoupon, and CappedFlooredIborCoupon. Public Member FunctionsCappedFlooredCoupon (const boost::shared_ptr< FloatingRateCoupon > &underlying, Rate cap=Null< Rate >(), Rate floor=Null< Rate >()) Rate cap () const cap Rate floor () const floor Rate effectiveCap () const effective cap of fixing Rate effectiveFloor () const effective…

  • |

    isExpired (3) Linux Manual Page

    QuantLib::EnergyFuture – Energy future. Synopsis#include <ql/experimental/commodities/energyfuture.hpp> Inherits QuantLib::EnergyCommodity. Public Member FunctionsEnergyFuture (Integer buySell, const Quantity &quantity, const CommodityUnitCost &tradePrice, const boost::shared_ptr< CommodityIndex > &index, const CommodityType &commodityType, const boost::shared_ptr< SecondaryCosts > &secondaryCosts) bool isExpired () const returns whether the instrument is still tradable. Quantity quantity () const const CommodityUnitCost & tradePrice () const const boost::shared_ptr<…

  • |

    isEndOfMonth (3) Linux Manual Page

    QuantLib::Calendar – calendar class Synopsis#include <ql/time/calendar.hpp> Inherited by Argentina, Australia, BespokeCalendar, Brazil, Canada, China, CzechRepublic, Denmark, Finland, Germany, HongKong, Hungary, Iceland, India, Indonesia, Italy, Japan, JointCalendar, Mexico, NewZealand, Norway, NullCalendar, Poland, SaudiArabia, Singapore, Slovakia, SouthAfrica, SouthKorea, Sweden, Switzerland, Taiwan, TARGET, Turkey, Ukraine, UnitedKingdom, and UnitedStates. Classesclass Impl abstract base class for calendar implementations class OrthodoxImpl…

  • |

    isDateBetween (3) Linux Manual Page

    QuantLib::DateInterval – Date interval described by a number of a given time unit. Synopsis#include <ql/experimental/commodities/dateinterval.hpp> Inherited by PricingPeriod. Public Member FunctionsDateInterval (const Date &startDate, const Date &endDate) const Date & startDate () const const Date & endDate () const bool isDateBetween (Date date, bool includeFirst=true, bool includeLast=true) const DateInterval intersection (const DateInterval &di) const bool…

  • |

    isCapped_ (3) Linux Manual Page

    QuantLib::CappedFlooredCoupon – Capped and/or floored floating-rate coupon. Synopsis#include <ql/cashflows/capflooredcoupon.hpp> Inherits QuantLib::FloatingRateCoupon. Inherited by CappedFlooredCmsCoupon, and CappedFlooredIborCoupon. Public Member FunctionsCappedFlooredCoupon (const boost::shared_ptr< FloatingRateCoupon > &underlying, Rate cap=Null< Rate >(), Rate floor=Null< Rate >()) Rate cap () const cap Rate floor () const floor Rate effectiveCap () const effective cap of fixing Rate effectiveFloor () const effective…

  • |

    isCapped (3) Linux Manual Page

    QuantLib::CappedFlooredCoupon – Capped and/or floored floating-rate coupon. Synopsis#include <ql/cashflows/capflooredcoupon.hpp> Inherits QuantLib::FloatingRateCoupon. Inherited by CappedFlooredCmsCoupon, and CappedFlooredIborCoupon. Public Member FunctionsCappedFlooredCoupon (const boost::shared_ptr< FloatingRateCoupon > &underlying, Rate cap=Null< Rate >(), Rate floor=Null< Rate >()) Rate cap () const cap Rate floor () const floor Rate effectiveCap () const effective cap of fixing Rate effectiveFloor () const effective…

  • |

    isCallCashOrNothing_ (3) Linux Manual Page

    QuantLib::DigitalCoupon – Digital-payoff coupon. Synopsis#include <ql/cashflows/digitalcoupon.hpp> Inherits QuantLib::FloatingRateCoupon. Inherited by DigitalCmsCoupon, and DigitalIborCoupon. Public Member FunctionsConstructors DigitalCoupon (const boost::shared_ptr< FloatingRateCoupon > &underlying, Rate callStrike=Null< Rate >(), Position::Type callPosition=Position::Long, bool isCallITMIncluded=false, Rate callDigitalPayoff=Null< Rate >(), Rate putStrike=Null< Rate >(), Position::Type putPosition=Position::Long, bool isPutITMIncluded=false, Rate putDigitalPayoff=Null< Rate >(), const boost::shared_ptr< DigitalReplication > &replication=boost::shared_ptr< DigitalReplication >()) general constructor…

  • |

    isCallATMIncluded_ (3) Linux Manual Page

    QuantLib::DigitalCoupon – Digital-payoff coupon. Synopsis#include <ql/cashflows/digitalcoupon.hpp> Inherits QuantLib::FloatingRateCoupon. Inherited by DigitalCmsCoupon, and DigitalIborCoupon. Public Member FunctionsConstructors DigitalCoupon (const boost::shared_ptr< FloatingRateCoupon > &underlying, Rate callStrike=Null< Rate >(), Position::Type callPosition=Position::Long, bool isCallITMIncluded=false, Rate callDigitalPayoff=Null< Rate >(), Rate putStrike=Null< Rate >(), Position::Type putPosition=Position::Long, bool isPutITMIncluded=false, Rate putDigitalPayoff=Null< Rate >(), const boost::shared_ptr< DigitalReplication > &replication=boost::shared_ptr< DigitalReplication >()) general constructor…