Forward Rate Agreement

Overview

Functions to construct and use ForwardRateAgreement objects.

Function List

qlFRA ()
qlFRAforwardRate ()
qlFRAforwardValue ()
qlFRAspotValue ()

Function Documentation

qlFRA

string returnValue
qlFRA(
string ObjectId
long ValueDate
long MaturityDate
string Position
double Strike
double Notional
string IborIndex
string YieldCurve
bool Permanent
any Trigger
bool Overwrite)
Description:

Construct an object of class ForwardRateAgreement and return its id

Supported Platforms:

Excel, C++

Parameters
ObjectIdid of object to be created
ValueDateValue date.
MaturityDateMaturity date.
PositionInstrument position (Long = purchase, Short = sale).
StrikeStrike rate.
NotionalNotional amount.
IborIndexUnderlying index object ID.
YieldCurvediscounting YieldTermStructure object ID.
Permanentobject permanent/nonpermanent
Triggerdependency tracking trigger
Overwriteoverwrite flag

qlFRAforwardRate

double returnValue
qlFRAforwardRate(
string ObjectId
any Trigger)
Description:

Returns the relevant forward rate associated with the FRA term.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::ForwardRateAgreement object
Triggerdependency tracking trigger

qlFRAforwardValue

double returnValue
qlFRAforwardValue(
string ObjectId
any Trigger)
Description:

Returns the forward value of the FRA.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::ForwardRateAgreement object
Triggerdependency tracking trigger

qlFRAspotValue

double returnValue
qlFRAspotValue(
string ObjectId
any Trigger)
Description:

Returns the spot value of the FRA.

Supported Platforms:

Excel

Parameters
ObjectIdid of existing QuantLib::ForwardRateAgreement object
Triggerdependency tracking trigger