QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
eurlibor.hpp
1/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3/*
4 Copyright (C) 2007 Ferdinando Ametrano
5 Copyright (C) 2006, 2007 Chiara Fornarola
6 Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl
7 Copyright (C) 2003, 2004, 2005, 2006 StatPro Italia srl
8
9 This file is part of QuantLib, a free-software/open-source library
10 for financial quantitative analysts and developers - http://quantlib.org/
11
12 QuantLib is free software: you can redistribute it and/or modify it
13 under the terms of the QuantLib license. You should have received a
14 copy of the license along with this program; if not, please email
15 <quantlib-dev@lists.sf.net>. The license is also available online at
16 <http://quantlib.org/license.shtml>.
17
18 This program is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20 FOR A PARTICULAR PURPOSE. See the license for more details.
21*/
22
27#ifndef quantlib_eur_libor_hpp
28#define quantlib_eur_libor_hpp
29
30#include <ql/indexes/iborindex.hpp>
31
32namespace QuantLib {
33
35
42 class EURLibor : public IborIndex {
43 public:
44 EURLibor(const Period& tenor,
45 const Handle<YieldTermStructure>& h = {});
51 Date valueDate(const Date& fixingDate) const override;
52 Date maturityDate(const Date& valueDate) const override;
53 // @}
54 private:
56 };
57
59
68 public:
69 DailyTenorEURLibor(Natural settlementDays,
70 const Handle<YieldTermStructure>& h = {});
71 };
72
75 public:
76 explicit EURLiborON(const Handle<YieldTermStructure>& h = {})
77 : DailyTenorEURLibor(0, h) {}
78 };
79
81 class EURLiborSW : public EURLibor {
82 public:
83 explicit EURLiborSW(const Handle<YieldTermStructure>& h = {})
84 : EURLibor(Period(1, Weeks), h) {}
85 };
86
88 class EURLibor2W : public EURLibor {
89 public:
90 explicit EURLibor2W(const Handle<YieldTermStructure>& h = {})
91 : EURLibor(Period(2, Weeks), h) {}
92 };
93
94
96 class EURLibor1M : public EURLibor {
97 public:
98 explicit EURLibor1M(const Handle<YieldTermStructure>& h = {})
99 : EURLibor(Period(1, Months), h) {}
100 };
101
103 class EURLibor2M : public EURLibor {
104 public:
106 : EURLibor(Period(2, Months), h) {}
107 };
108
110 class EURLibor3M : public EURLibor {
111 public:
113 : EURLibor(Period(3, Months), h) {}
114 };
115
117 class EURLibor4M : public EURLibor {
118 public:
120 : EURLibor(Period(4, Months), h) {}
121 };
122
124 class EURLibor5M : public EURLibor {
125 public:
127 : EURLibor(Period(5, Months), h) {}
128 };
129
131 class EURLibor6M : public EURLibor {
132 public:
134 : EURLibor(Period(6, Months), h) {}
135 };
136
138 class EURLibor7M : public EURLibor{
139 public:
141 : EURLibor(Period(7, Months), h) {}
142 };
143
145 class EURLibor8M : public EURLibor {
146 public:
148 : EURLibor(Period(8, Months), h) {}
149 };
150
152 class EURLibor9M : public EURLibor {
153 public:
155 : EURLibor(Period(9, Months), h) {}
156 };
157
159 class EURLibor10M : public EURLibor {
160 public:
162 : EURLibor(Period(10, Months), h) {}
163 };
164
166 class EURLibor11M : public EURLibor {
167 public:
169 : EURLibor(Period(11, Months), h) {}
170 };
171
173 class EURLibor1Y : public EURLibor {
174 public:
176 : EURLibor(Period(1, Years), h) {}
177 };
178
179
180}
181
182#endif
calendar class
Definition: calendar.hpp:61
base class for the one day deposit ICE EUR LIBOR indexes
Definition: eurlibor.hpp:67
Concrete date class.
Definition: date.hpp:125
10-months EUR Libor index
Definition: eurlibor.hpp:159
EURLibor10M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:161
11-months EUR Libor index
Definition: eurlibor.hpp:166
EURLibor11M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:168
1-month EUR Libor index
Definition: eurlibor.hpp:96
EURLibor1M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:98
1-year EUR Libor index
Definition: eurlibor.hpp:173
EURLibor1Y(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:175
2-months EUR Libor index
Definition: eurlibor.hpp:103
EURLibor2M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:105
2-weeks EUR Libor index
Definition: eurlibor.hpp:88
EURLibor2W(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:90
3-months EUR Libor index
Definition: eurlibor.hpp:110
EURLibor3M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:112
4-months EUR Libor index
Definition: eurlibor.hpp:117
EURLibor4M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:119
5-months EUR Libor index
Definition: eurlibor.hpp:124
EURLibor5M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:126
6-months EUR Libor index
Definition: eurlibor.hpp:131
EURLibor6M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:133
7-months EUR Libor index
Definition: eurlibor.hpp:138
EURLibor7M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:140
8-months EUR Libor index
Definition: eurlibor.hpp:145
EURLibor8M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:147
9-months EUR Libor index
Definition: eurlibor.hpp:152
EURLibor9M(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:154
base class for all ICE EUR LIBOR indexes but the O/N
Definition: eurlibor.hpp:42
Date valueDate(const Date &fixingDate) const override
Definition: eurlibor.cpp:79
Calendar target_
Definition: eurlibor.hpp:55
Date maturityDate(const Date &valueDate) const override
Definition: eurlibor.cpp:90
Overnight EUR Libor index.
Definition: eurlibor.hpp:74
EURLiborON(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:76
1-week EUR Libor index
Definition: eurlibor.hpp:81
EURLiborSW(const Handle< YieldTermStructure > &h={})
Definition: eurlibor.hpp:83
Shared handle to an observable.
Definition: handle.hpp:41
base class for Inter-Bank-Offered-Rate indexes (e.g. Libor, etc.)
Definition: iborindex.hpp:35
Date fixingDate(const Date &valueDate) const
unsigned QL_INTEGER Natural
positive integer
Definition: types.hpp:43
Definition: any.hpp:35