24#ifndef quantext_corra_hpp
25#define quantext_corra_hpp
27#include <ql/currencies/america.hpp>
28#include <ql/time/calendars/canada.hpp>
29#include <ql/time/daycounters/actual365fixed.hpp>
39class CORRA :
public OvernightIndex {
41 explicit CORRA(
const Handle<YieldTermStructure>& h = Handle<YieldTermStructure>())
42 : OvernightIndex(
"CORRA", 0, CADCurrency(), Canada(), Actual365Fixed(), h) {}
47 CORRATerm(
const Period& tenor,
const Handle<YieldTermStructure>& h = Handle<YieldTermStructure>())
48 :
TermRateIndex(
"CAD-CORRATerm", tenor, 2, CADCurrency(), Canada(), ModifiedFollowing, false, Actual365Fixed(), h,
CORRA(const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())
CORRATerm(const Period &tenor, const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())
ibor index class to represent term rates like SOFR-1M, 3M, 6M, 12M