22#include <ql/quotes/simplequote.hpp>
23#include <ql/termstructures/credit/flathazardrate.hpp>
24#include <ql/termstructures/credit/piecewisedefaultcurve.hpp>
25#include <ql/termstructures/voltermstructure.hpp>
26#include <ql/termstructures/yield/flatforward.hpp>
27#include <ql/termstructures/yield/piecewiseyieldcurve.hpp>
28#include <ql/termstructures/yield/ratehelpers.hpp>
29#include <ql/time/calendars/nullcalendar.hpp>
30#include <ql/time/calendars/target.hpp>
31#include <ql/time/daycounters/actual360.hpp>
32#include <ql/time/daycounters/actualactual.hpp>
34#include <ql/termstructures/credit/defaultprobabilityhelpers.hpp>
51 Handle<YieldTermStructure>
flatRateYts(Real forward);
54 Handle<YieldTermStructure>
flatRateDiv(Real dividend);
56 VolatilityType type = ShiftedLognormal, Real shift = 0.0);
58 Handle<OptionletVolatilityStructure>
flatRateCvs(
Volatility vol, VolatilityType type = Normal, Real shift = 0.0);
Simple flat market setup to be used in the test suite, plain copy from OREAP test suite.
Handle< OptionletVolatilityStructure > flatRateCvs(Volatility vol, VolatilityType type=Normal, Real shift=0.0)
Handle< QuantExt::CreditCurve > flatRateDcs(Volatility forward)
Handle< YieldTermStructure > flatRateYts(Real forward)
Handle< BlackVolTermStructure > flatRateFxv(Volatility forward)
Handle< QuantLib::SwaptionVolatilityStructure > flatRateSvs(Volatility forward, VolatilityType type=ShiftedLognormal, Real shift=0.0)
Handle< YieldTermStructure > flatRateDiv(Real dividend)
Map text representations to QuantLib/QuantExt types.
An implementation of the Market class that stores the required objects in maps.
Map text representations to QuantLib/QuantExt types.