24#ifndef quantext_tonar_hpp
25#define quantext_tonar_hpp
27#include <ql/currencies/asia.hpp>
28#include <ql/indexes/iborindex.hpp>
29#include <ql/time/calendars/japan.hpp>
30#include <ql/time/daycounters/actual365fixed.hpp>
45class Tonar :
public OvernightIndex {
47 Tonar(
const Handle<YieldTermStructure>& h = Handle<YieldTermStructure>())
48 : OvernightIndex(
"TONAR", 0, JPYCurrency(), Japan(), Actual365Fixed(), h) {}
57 TonarTerm(
const Period& tenor,
const Handle<YieldTermStructure>& h = Handle<YieldTermStructure>())
58 :
TermRateIndex(
"JPY-TONARTerm", tenor, 2, JPYCurrency(), Japan(), ModifiedFollowing, false, Actual365Fixed(), h,
Tonar(const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())
TonarTerm(const Period &tenor, const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())