#include <qle/indexes/fxindex.hpp>
|
| FxSpotQuote (Handle< Quote > todaysQuote, const Handle< YieldTermStructure > &sourceYts, const Handle< YieldTermStructure > &targetYts, Natural fixingDays, const Calendar &fixingCalendar) |
|
|
Real | value () const override |
|
bool | isValid () const override |
|
Definition at line 72 of file fxindex.hpp.
◆ FxSpotQuote()
FxSpotQuote |
( |
Handle< Quote > |
todaysQuote, |
|
|
const Handle< YieldTermStructure > & |
sourceYts, |
|
|
const Handle< YieldTermStructure > & |
targetYts, |
|
|
Natural |
fixingDays, |
|
|
const Calendar & |
fixingCalendar |
|
) |
| |
Definition at line 72 of file fxindex.cpp.
80}
const Handle< YieldTermStructure > targetYts_
const Handle< Quote > todaysQuote_
const Handle< YieldTermStructure > sourceYts_
◆ value()
Definition at line 82 of file fxindex.cpp.
82 {
83 QL_ENSURE(
isValid(),
"invalid FxSpotQuote");
86 else {
92 }
93}
bool isValid() const override
◆ isValid()
◆ update()
◆ todaysQuote_
const Handle<Quote> todaysQuote_ |
|
private |
◆ sourceYts_
const Handle<YieldTermStructure> sourceYts_ |
|
private |
◆ targetYts_
const Handle<YieldTermStructure> targetYts_ |
|
private |
◆ fixingDays_
◆ fixingCalendar_