|
| FxSwapRateHelper (const Handle< Quote > &fwdPoint, Handle< Quote > spotFx, const Period &tenor, Natural fixingDays, Calendar calendar, BusinessDayConvention convention, bool endOfMonth, bool isFxBaseCurrencyCollateralCurrency, Handle< YieldTermStructure > collateralCurve, Calendar tradingCalendar=Calendar()) |
|
|
Real | impliedQuote () const override |
|
void | setTermStructure (YieldTermStructure *) override |
|
|
Real | spot () const |
|
Period | tenor () const |
|
Natural | fixingDays () const |
|
Calendar | calendar () const |
|
BusinessDayConvention | businessDayConvention () const |
|
bool | endOfMonth () const |
|
bool | isFxBaseCurrencyCollateralCurrency () const |
|
Calendar | tradingCalendar () const |
|
Calendar | adjustmentCalendar () const |
|
| RelativeDateBootstrapHelper (const Handle< Quote > "e) |
|
| RelativeDateBootstrapHelper (Real quote) |
|
void | update () override |
|
| BootstrapHelper (Handle< Quote > quote) |
|
| BootstrapHelper (Real quote) |
|
| ~BootstrapHelper () override=default |
|
const Handle< Quote > & | quote () const |
|
Real | quoteError () const |
|
virtual void | setTermStructure (TS *) |
| sets the term structure to be used for pricing More...
|
|
virtual Date | earliestDate () const |
| earliest relevant date More...
|
|
virtual Date | maturityDate () const |
| instrument's maturity date More...
|
|
virtual Date | latestRelevantDate () const |
| latest relevant date More...
|
|
virtual Date | pillarDate () const |
| pillar date More...
|
|
virtual Date | latestDate () const |
| latest date More...
|
|
| Observer ()=default |
|
| Observer (const Observer &) |
|
Observer & | operator= (const Observer &) |
|
virtual | ~Observer () |
|
std::pair< iterator, bool > | registerWith (const ext::shared_ptr< Observable > &) |
|
void | registerWithObservables (const ext::shared_ptr< Observer > &) |
|
Size | unregisterWith (const ext::shared_ptr< Observable > &) |
|
void | unregisterWithAll () |
|
virtual void | update ()=0 |
|
virtual void | deepUpdate () |
|
| Observable () |
|
| Observable (const Observable &) |
|
Observable & | operator= (const Observable &) |
|
| Observable (Observable &&)=delete |
|
Observable & | operator= (Observable &&)=delete |
|
virtual | ~Observable ()=default |
|
void | notifyObservers () |
|
Rate helper for bootstrapping over Fx Swap rates.
The forward is given by fwdFx = spotFx + fwdPoint
.
isFxBaseCurrencyCollateralCurrency
indicates if the base currency of the FX currency pair is the one used as collateral.
calendar
is usually the joint calendar of the two currencies in the pair.
tradingCalendar
can be used when the cross pairs don't include the currency of the business center (usually USD; the corresponding calendar is UnitedStates
). If given, it will be used for adjusting the earliest settlement date and for setting the latest date. Due to FX spot market conventions, it is not sufficient to pass a JointCalendar with UnitedStates included as calendar
; with regard the earliest date, this calendar is only used in case the spot date of the two currencies is not a US business day.
- Warning:
- The ON fx swaps can be achieved by setting
fixingDays
to 0 and using a tenor of '1d'. The same tenor should be used for TN swaps, with fixingDays
set to 1. However, handling ON and TN swaps for cross rates without USD is not trivial and should be treated with caution. If today is a US holiday, ON trade is not possible. If tomorrow is a US Holiday, the ON trade will be at least two business days long in the other countries and the TN trade will not exist. In such cases, if this helper is used for curve construction, probably it is safer not to pass a trading calendar to the ON and TN helpers and provide fwdPoints that will yield proper level of discount factors.
Definition at line 426 of file ratehelpers.hpp.