Linux Manuals session 3

Section 3: library functions

  • |

    BootstrapHelper (3) Linux Manual Page

    NAME ql/termstructures/bootstraphelper.hpp – base helper class used for bootstrapping SYNOPSIS #include <ql/quote.hpp> #include <ql/time/date.hpp> #include <ql/handle.hpp> #include <ql/patterns/observable.hpp> #include <ql/patterns/visitor.hpp> #include <ql/quotes/simplequote.hpp> Classes class BootstrapHelper< TS > Base helper class for bootstrapping. Detailed Description base helper class used for bootstrapping Author Generated automatically by Doxygen for QuantLib from the source code. Index

  • |

    BootstrapError (3) Linux Manual Page

    QuantLib::BootstrapError – bootstrap error Synopsis #include <ql/termstructures/bootstraperror.hpp> Public Member Functions BootstrapError (const Curve *curve, const boost::shared_ptr< typename Traits::helper > &instrument, Size segment) Real operator() (Rate guess) const Detailed Description template<class Curve> class QuantLib::BootstrapError< Curve > bootstrap error Author Generated automatically by Doxygen for QuantLib from the source code.

  • |

    Bond (3) Linux Manual Page

    NAME ql/instruments/bond.hpp – concrete bond class SYNOPSIS #include <ql/instrument.hpp> #include <ql/cashflow.hpp> #include <ql/cashflows/coupon.hpp> #include <ql/time/calendar.hpp> #include <ql/time/daycounter.hpp> #include <ql/time/schedule.hpp> #include <ql/types.hpp> #include <ql/handle.hpp> #include <ql/termstructures/yieldtermstructure.hpp> #include <vector> Classes class Bond Base bond class. Detailed Description concrete bond class Author Generated automatically by Doxygen for QuantLib from the source code. Index

  • |

    BlackVolatilityTermStructure (3) Linux Manual Page

    QuantLib::BlackVolatilityTermStructure – Black-volatility term structure. Synopsis #include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp> Inherits QuantLib::BlackVolTermStructure. Inherited by BlackConstantVol. Public Member Functions Constructors See the TermStructure documentation for issues regarding constructors. BlackVolatilityTermStructure (const Calendar &cal=Calendar(), BusinessDayConvention bdc=Following, const DayCounter &dc=DayCounter()) default constructor BlackVolatilityTermStructure (const Date &referenceDate, const Calendar &cal=Calendar(), BusinessDayConvention bdc=Following, const DayCounter &dc=DayCounter()) initialize with a fixed reference date BlackVolatilityTermStructure…

  • |

    BlackVolTermStructure (3) Linux Manual Page

    NAME ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp – Black volatility term structure base classes. SYNOPSIS #include <ql/termstructures/voltermstructure.hpp> #include <ql/patterns/visitor.hpp> Classes class BlackVolTermStructure Black-volatility term structure. class BlackVolatilityTermStructure Black-volatility term structure. class BlackVarianceTermStructure Black variance term structure. Detailed Description Black volatility term structure base classes. Author Generated automatically by Doxygen for QuantLib from the source code. Index

  • |

    BlackVolSurface (3) Linux Manual Page

    QuantLib::BlackVolSurface – Black volatility (smile) surface. Synopsis #include <ql/experimental/volatility/blackvolsurface.hpp> Inherits QuantLib::BlackAtmVolCurve. Inherited by EquityFXVolSurface, and InterestRateVolSurface. Public Member Functions Constructors See the TermStructure documentation for issues regarding constructors. BlackVolSurface (const Calendar &cal=Calendar(), BusinessDayConvention bdc=Following, const DayCounter &dc=DayCounter()) default constructor BlackVolSurface (const Date &referenceDate, const Calendar &cal=Calendar(), BusinessDayConvention bdc=Following, const DayCounter &dc=DayCounter()) initialize with a fixed…

  • |

    BlackVarianceTermStructure (3) Linux Manual Page

    QuantLib::BlackVarianceTermStructure – Black variance term structure. Synopsis #include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp> Inherits QuantLib::BlackVolTermStructure. Inherited by BlackVarianceCurve, BlackVarianceSurface, ExtendedBlackVarianceCurve, ExtendedBlackVarianceSurface, and ImpliedVolTermStructure. Public Member Functions Constructors See the TermStructure documentation for issues regarding constructors. BlackVarianceTermStructure (const Calendar &cal=Calendar(), BusinessDayConvention bdc=Following, const DayCounter &dc=DayCounter()) default constructor BlackVarianceTermStructure (const Date &referenceDate, const Calendar &cal=Calendar(), BusinessDayConvention bdc=Following, const DayCounter &dc=DayCounter()) initialize…

  • |

    BlackVarianceSurface (3) Linux Manual Page

    NAME ql/termstructures/volatility/equityfx/blackvariancesurface.hpp – Black volatility surface modelled as variance surface. SYNOPSIS #include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp> #include <ql/math/matrix.hpp> #include <ql/math/interpolations/interpolation2d.hpp> #include <ql/time/daycounters/actual365fixed.hpp> Classes class BlackVarianceSurface Black volatility surface modelled as variance surface. Detailed Description Black volatility surface modelled as variance surface. Author Generated automatically by Doxygen for QuantLib from the source code. Index

  • |

    BlackVarianceCurve (3) Linux Manual Page

    NAME ql/termstructures/volatility/equityfx/blackvariancecurve.hpp – Black volatility curve modelled as variance curve. SYNOPSIS #include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp> #include <ql/math/interpolation.hpp> Classes class BlackVarianceCurve Black volatility curve modelled as variance curve. Detailed Description Black volatility curve modelled as variance curve. Author Generated automatically by Doxygen for QuantLib from the source code. Index

  • |

    BlackSwaptionEngine (3) Linux Manual Page

    QuantLib::BlackSwaptionEngine – Black-formula swaption engine. Synopsis #include <ql/pricingengines/swaption/blackswaptionengine.hpp> Inherits QuantLib::Swaption::engine. Public Member Functions BlackSwaptionEngine (const Handle< YieldTermStructure > &termStructure, Volatility vol, const DayCounter &dc=Actual365Fixed()) BlackSwaptionEngine (const Handle< YieldTermStructure > &termStructure, const Handle< Quote > &vol, const DayCounter &dc=Actual365Fixed()) BlackSwaptionEngine (const Handle< YieldTermStructure > &discountCurve, const Handle< SwaptionVolatilityStructure > &vol) void calculate () const Handle< YieldTermStructure…

  • |

    BlackScholesProcess (3) Linux Manual Page

    NAME ql/processes/blackscholesprocess.hpp – Black-Scholes processes. SYNOPSIS #include <ql/stochasticprocess.hpp> #include <ql/processes/eulerdiscretization.hpp> #include <ql/termstructures/yieldtermstructure.hpp> #include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp> #include <ql/termstructures/volatility/equityfx/localvoltermstructure.hpp> #include <ql/quote.hpp> Classes class GeneralizedBlackScholesProcess Generalized Black-Scholes stochastic process. class BlackScholesProcess Black-Scholes (1973) stochastic process. class BlackScholesMertonProcess Merton (1973) extension to the Black-Scholes stochastic process. class BlackProcess Black (1976) stochastic process. class GarmanKohlagenProcess Garman-Kohlhagen (1983) stochastic process. Detailed Description…

  • |

    BlackScholesMertonProcess (3) Linux Manual Page

    QuantLib::BlackScholesMertonProcess – Merton (1973) extension to the Black-Scholes stochastic process. Synopsis #include <ql/processes/blackscholesprocess.hpp> Inherits QuantLib::GeneralizedBlackScholesProcess. Public Member Functions BlackScholesMertonProcess (const Handle< Quote > &x0, const Handle< YieldTermStructure > &dividendTS, const Handle< YieldTermStructure > &riskFreeTS, const Handle< BlackVolTermStructure > &blackVolTS, const boost::shared_ptr< discretization > &d=boost::shared_ptr< discretization >(new EulerDiscretization)) Detailed Description Merton (1973) extension to the Black-Scholes…

  • |

    BlackScholesLattice (3) Linux Manual Page

    QuantLib::BlackScholesLattice – Simple binomial lattice approximating the Black-Scholes model. Synopsis #include <ql/methods/lattices/bsmlattice.hpp> Inherits TreeLattice1D< BlackScholesLattice< T > >. Public Member Functions BlackScholesLattice (const boost::shared_ptr< T > &tree, Rate riskFreeRate, Time end, Size steps) Size size (Size i) const DiscountFactor discount (Size, Size) const void stepback (Size i, const Array &values, Array &newValues) const Real underlying…

  • |

    BlackScholesCalculator (3) Linux Manual Page

    QuantLib::BlackScholesCalculator – Black-Scholes 1973 calculator class. Synopsis #include <ql/pricingengines/blackscholescalculator.hpp> Inherits QuantLib::BlackCalculator. Public Member Functions BlackScholesCalculator (const boost::shared_ptr< StrikedTypePayoff > &payoff, Real spot, DiscountFactor growth, Real stdDev, DiscountFactor discount) Real delta () const Real elasticity () const Real gamma () const Real theta (Time maturity) const Real thetaPerDay (Time maturity) const Protected Attributes Real spot_ DiscountFactor…

  • |

    BlackProcess (3) Linux Manual Page

    QuantLib::BlackProcess – Black (1976) stochastic process. Synopsis #include <ql/processes/blackscholesprocess.hpp> Inherits QuantLib::GeneralizedBlackScholesProcess. Public Member Functions BlackProcess (const Handle< Quote > &x0, const Handle< YieldTermStructure > &riskFreeTS, const Handle< BlackVolTermStructure > &blackVolTS, const boost::shared_ptr< discretization > &d=boost::shared_ptr< discretization >(new EulerDiscretization)) Detailed Description Black (1976) stochastic process. This class describes the stochastic process for a forward or futures…

  • |

    BlackPixelOfScreen (3) Linux Manual Page

    BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOfScreen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, MaxCmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen – screen information functions and macros Syntax unsigned long BlackPixelOfScreen(Screen *screen); unsigned long WhitePixelOfScreen(Screen *screen); int CellsOfScreen(Screen *screen); Colormap DefaultColormapOfScreen(Screen *screen); int DefaultDepthOfScreen(Screen *screen); GC DefaultGCOfScreen(Screen *screen); Visual *DefaultVisualOfScreen(Screen *screen); int DoesBackingStore(Screen *screen); Bool DoesSaveUnders(Screen…

  • |

    BlackPixel (3) Linux Manual Page

    AllPlanes, BlackPixel, WhitePixel, ConnectionNumber, DefaultColormap, DefaultDepth, XListDepths, DefaultGC, DefaultRootWindow, DefaultScreenOfDisplay, DefaultScreen, DefaultVisual, DisplayCells, DisplayPlanes, DisplayString, XMaxRequestSize, XExtendedMaxRequestSize, LastKnownRequestProcessed, NextRequest, ProtocolVersion, ProtocolRevision, QLength, RootWindow, ScreenCount, ScreenOfDisplay, ServerVendor, VendorRelease – Display macros and functions Syntax unsigned long AllPlanes; unsigned long BlackPixel(Display *display, int screen_number); unsigned long WhitePixel(Display *display, int screen_number); int ConnectionNumber(Display *display); Colormap DefaultColormap(Display *display, int…

  • |

    BlackKarasinski (3) Linux Manual Page

    NAME ql/models/shortrate/onefactormodels/blackkarasinski.hpp – Black-Karasinski model. SYNOPSIS #include <ql/models/shortrate/onefactormodel.hpp> #include <ql/processes/ornsteinuhlenbeckprocess.hpp> Classes class BlackKarasinski Standard Black-Karasinski model class. class Dynamics Short-rate dynamics in the Black-Karasinski model. Detailed Description Black-Karasinski model. Author Generated automatically by Doxygen for QuantLib from the source code. Index

  • |

    BlackIborCouponPricer (3) Linux Manual Page

    QuantLib::BlackIborCouponPricer – Black-formula pricer for capped/floored Ibor coupons. Synopsis #include <ql/cashflows/couponpricer.hpp> Inherits QuantLib::IborCouponPricer. Inherited by BlackIborQuantoCouponPricer. Public Member Functions BlackIborCouponPricer (const Handle< OptionletVolatilityStructure > &v=Handle< OptionletVolatilityStructure >()) virtual void initialize (const FloatingRateCoupon &coupon) Real swapletPrice () const Rate swapletRate () const Real capletPrice (Rate effectiveCap) const Rate capletRate (Rate effectiveCap) const Real floorletPrice (Rate effectiveFloor)…

  • |

    BlackConstantVol (3) Linux Manual Page

    NAME ql/termstructures/volatility/equityfx/blackconstantvol.hpp – Black constant volatility, no time dependence, no strike dependence. SYNOPSIS #include <ql/termstructures/volatility/equityfx/blackvoltermstructure.hpp> #include <ql/quotes/simplequote.hpp> #include <ql/time/daycounters/actual365fixed.hpp> Classes class BlackConstantVol Constant Black volatility, no time-strike dependence. Detailed Description Black constant volatility, no time dependence, no strike dependence. Author Generated automatically by Doxygen for QuantLib from the source code. Index