25#ifndef quantlib_cc_ois_basis_swap_hpp
26#define quantlib_cc_ois_basis_swap_hpp
28#include <ql/currency.hpp>
29#include <ql/indexes/iborindex.hpp>
30#include <ql/instruments/swap.hpp>
31#include <ql/time/daycounter.hpp>
32#include <ql/time/schedule.hpp>
67 const Leg&
payLeg()
const {
return legs_[0]; }
68 const Leg&
recLeg()
const {
return legs_[1]; }
83 void fetchResults(
const PricingEngine::results*)
const override;
125 void reset()
override;
130 :
public GenericEngine<OvernightIndexedCrossCcyBasisSwap::arguments, OvernightIndexedCrossCcyBasisSwap::results> {};
std::vector< Currency > currency
Basis swap: compounded overnight rate in ccy 1 vs. compounded overnight rate in ccy 2.
Real fairPayLegSpread() const
QuantLib::ext::shared_ptr< OvernightIndex > recIndex_
const Leg & payLeg() const
std::vector< Currency > currency_
const Schedule & paySchedule()
Currency payCurrency() const
Spread fairRecLegSpread() const
const Schedule & recSchedule()
const Leg & recLeg() const
const QuantLib::ext::shared_ptr< OvernightIndex > & payIndex()
void setupArguments(PricingEngine::arguments *args) const override
Currency recCurrency() const
QuantLib::ext::shared_ptr< OvernightIndex > payIndex_
void fetchResults(const PricingEngine::results *) const override
const QuantLib::ext::shared_ptr< OvernightIndex > & recIndex()