Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
sekstina.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 sekstina.hpp
18 \brief SEK T/N rate
19 \ingroup indexes
20 */
21
22 #ifndef quantext_sekstina_hpp
23 #define quantext_sekstina_hpp
24
25 #include <ql/currencies/europe.hpp>
26 #include <ql/indexes/iborindex.hpp>
27 #include <ql/time/calendars/sweden.hpp>
28 #include <ql/time/daycounters/actual360.hpp>
29
30 namespace QuantExt {
31 using namespace QuantLib;
32
33 //! %SEK STINA
34 /*! %SEK Stockholm T/N Interbank Average rate
35 */
36 class SEKStina : public OvernightIndex {
37 public:
38 SEKStina(const Handle<YieldTermStructure>& h = Handle<YieldTermStructure>())
39 : OvernightIndex("SEK-STINA", 1, SEKCurrency(), Sweden(), Actual360(), h) {}
40 };
41 } // namespace QuantExt
42
43 #endif
SEKStina(const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())
Definition: sekstina.hpp:38