Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
yieldvolcurveconfig.hpp
Go to the documentation of this file.
1/*
2Copyright (C) 2019 Quaternion Risk Management Ltd
3All rights reserved.
4
5This file is part of ORE, a free-software/open-source library
6for transparent pricing and risk analysis - http://opensourcerisk.org
7
8ORE is free software: you can redistribute it and/or modify it
9under the terms of the Modified BSD License. You should have received a
10copy of the license along with this program.
11The license is also available online at <http://opensourcerisk.org>
12
13This program is distributed on the basis that it will form a useful
14contribution to risk analytics and model standardisation, but WITHOUT
15ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
17*/
18
19/*! \file ored/configuration/yieldvolcurveconfig.hpp
20\brief yield volatility curve configuration classes
21\ingroup configuration
22*/
23
24#pragma once
25
27#include <ql/time/calendar.hpp>
28#include <ql/time/daycounter.hpp>
29#include <ql/time/period.hpp>
30#include <ql/types.hpp>
31
32namespace ore {
33namespace data {
34
35//! Yield volatility curve configuration
36/*!
37\ingroup configuration
38*/
40public:
42 : GenericYieldVolatilityCurveConfig("Bond", "YieldVolatility", "BOND_OPTION", "Qualifier", false, false) {}
43 //! Detailed constructor
44 YieldVolatilityCurveConfig(const string& curveID, const string& curveDescription, const string& qualifier,
47 const Extrapolation extrapolation, const vector<string>& optionTenors,
48 const vector<string>& bondTenors, const DayCounter& dayCounter, const Calendar& calendar,
49 const BusinessDayConvention& businessDayConvention)
50 : GenericYieldVolatilityCurveConfig("Bond", "YieldVolatility", "BOND_OPTION", "Qualifier", curveID,
54 //@}
55};
56
57} // namespace data
58} // namespace ore
const string & curveDescription() const
Definition: curveconfig.hpp:55
const string & curveID() const
Definition: curveconfig.hpp:54
Generic yield volatility curve configuration class.
const BusinessDayConvention & businessDayConvention() const
Yield volatility curve configuration.
YieldVolatilityCurveConfig(const string &curveID, const string &curveDescription, const string &qualifier, const Dimension &dimension, const VolatilityType volatilityType, const VolatilityType outputVolatilityType, const Interpolation interpolation, const Extrapolation extrapolation, const vector< string > &optionTenors, const vector< string > &bondTenors, const DayCounter &dayCounter, const Calendar &calendar, const BusinessDayConvention &businessDayConvention)
Detailed constructor.
Swaption volatility curve configuration classes.
@ data
Definition: log.hpp:77
Serializable Credit Default Swap.
Definition: namespaces.docs:23