Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
qle
indexes
ibor
thor.hpp
Go to the documentation of this file.
1
/*
2
Copyright (C) 2022 Quaternion Risk Management Ltd
3
Copyright (C) 2022 Oleg Kulkov
4
All rights reserved.
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 thor.hpp
18
\brief THB-THOR index
19
\ingroup indexes
20
*/
21
22
#ifndef quantext_thor_hpp
23
#define quantext_thor_hpp
24
25
#include <ql/currencies/asia.hpp>
26
#include <ql/indexes/iborindex.hpp>
27
#include <ql/time/calendars/thailand.hpp>
28
#include <ql/time/daycounters/actual365fixed.hpp>
29
30
namespace
QuantExt
{
31
using namespace
QuantLib
;
32
33
//! THB-THOR index
34
/*! Benchmark rate for Thai Overnight Repurchase Rate (THOR).
35
See <https://www.bot.or.th/English/FinancialMarkets/Documents/THOR_userguide_EN.pdf>.
36
\remark Using Thai calendar, to be checked whether identical to Bangkok.
37
\warning Check roll convention and EOM.
38
\ingroup indexes
39
*/
40
class
THBThor
:
public
OvernightIndex {
41
public
:
42
THBThor
(
const
Handle<YieldTermStructure>& h = Handle<YieldTermStructure>())
43
: OvernightIndex(
"THB-THOR"
, 0, THBCurrency(), Thailand(), Actual365Fixed(), h) {}
44
};
45
}
// namespace QuantExt
46
47
#endif
QuantExt::THBThor
THB-THOR index.
Definition:
thor.hpp:40
QuantExt::THBThor::THBThor
THBThor(const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())
Definition:
thor.hpp:42
QuantExt
Definition:
namespaces.docs:19
QuantLib
Definition:
colombia.cpp:21
Generated by
Doxygen
1.9.5