Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
dkkcita.hpp
Go to the documentation of this file.
1/*
2 Copyright (C) 2021 Skandinaviska Enskilda Banken AB (publ)
3 All rights reserved.
4
5 This file is part of ORE, a free-software/open-source library
6 for transparent pricing and risk analysis - http://opensourcerisk.org
7 ORE is free software: you can redistribute it and/or modify it
8 under the terms of the Modified BSD License. You should have received a
9 copy of the license along with this program.
10 The license is also available online at <http://opensourcerisk.org>
11 This program is distributed on the basis that it will form a useful
12 contribution to risk analytics and model standardisation, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
15 */
16
17 /*! \file dkkcita.hpp
18 \brief DKK T/N rate
19 \ingroup indexes
20 */
21
22 #ifndef quantext_dkkcita_hpp
23 #define quantext_dkkcita_hpp
24
25 #include <ql/currencies/europe.hpp>
26 #include <ql/indexes/iborindex.hpp>
27 #include <ql/time/calendars/denmark.hpp>
28 #include <ql/time/daycounters/actual360.hpp>
29
30 namespace QuantExt {
31 using namespace QuantLib;
32
33 //! %DKK CITA
34 /*! %DKK Copenhagen Interbank T/N Average rate
35 \remark Using Denmark calendar.
36 \ingroup indexes
37 */
38 class DKKCita : public OvernightIndex {
39 public:
40 DKKCita(const Handle<YieldTermStructure>& h = Handle<YieldTermStructure>())
41 : OvernightIndex("DKK-CITA", 1, DKKCurrency(), Denmark(), Actual360(), h) {}
42 };
43 } // namespace QuantExt
44
45 #endif
DKKCita(const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())
Definition: dkkcita.hpp:40