Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
jpyeytibor.hpp
Go to the documentation of this file.
1/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3/*
4 Copyright (C) 2020 Quaternion Risk Management Ltd
5 All rights reserved.
6
7 This file is part of ORE, a free-software/open-source library
8 for transparent pricing and risk analysis - http://opensourcerisk.org
9
10 ORE is free software: you can redistribute it and/or modify it
11 under the terms of the Modified BSD License. You should have received a
12 copy of the license along with this program.
13 The license is also available online at <http://opensourcerisk.org>
14
15 This program is distributed on the basis that it will form a useful
16 contribution to risk analytics and model standardisation, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
19*/
20
21/*! \file jpyeytibor.hpp
22 \brief %JPY %Euroyen %TIBOR index
23*/
24
25#ifndef quantext_jpyeytibor_hpp
26#define quantext_jpyeytibor_hpp
27
28#include <ql/indexes/iborindex.hpp>
29#include <ql/time/calendars/japan.hpp>
30#include <ql/time/daycounters/actual360.hpp>
31#include <ql/currencies/asia.hpp>
32
33namespace QuantExt {
34using namespace QuantLib;
35
36 //! %JPY %Euroyen %TIBOR index
37 /*! Tokyo Euroyen Interbank Offered Rate.
38
39 See http://www.jbatibor.or.jp/english/rate/
40
41 \warning This is the offshore rate fixed by JBA.
42
43 \todo check end-of-month adjustment.
44 */
45 class JPYEYTIBOR: public IborIndex {
46 public:
47 JPYEYTIBOR(const Period& tenor,
48 const Handle<YieldTermStructure>& h =
49 Handle<YieldTermStructure>())
50 : IborIndex("JPY-EYTIBOR", tenor, 2, JPYCurrency(),
51 Japan(), ModifiedFollowing,
52 false, Actual360(), h) {}
53 };
54
55}
56
57
58#endif
JPY Euroyen TIBOR index
Definition: jpyeytibor.hpp:45
JPYEYTIBOR(const Period &tenor, const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())
Definition: jpyeytibor.hpp:47