#include <qle/instruments/equityforward.hpp>
Classes | |
class | arguments |
class | engine |
Public Member Functions | |
Constructors | |
EquityForward (const std::string &name, const Currency ¤cy, const Position::Type &longShort, const Real &quantity, const Date &maturityDate, const Real &strike) | |
Instrument interface | |
bool | isExpired () const override |
void | setupArguments (PricingEngine::arguments *) const override |
Additional interface | |
std::string | name_ |
Currency | currency_ |
Position::Type | longShort_ |
Real | quantity_ |
Date | maturityDate_ |
Real | strike_ |
const std::string & | name () const |
Currency | currency () const |
Position::Type | longShort () const |
Real | quantity () const |
Date | maturityDate () const |
Real | strike () const |
This class holds the term sheet data for an Equity Forward instrument.
Definition at line 42 of file equityforward.hpp.
EquityForward | ( | const std::string & | name, |
const Currency & | currency, | ||
const Position::Type & | longShort, | ||
const Real & | quantity, | ||
const Date & | maturityDate, | ||
const Real & | strike | ||
) |
name | Equity Name |
currency | Currency |
longShort | if true, we are long the forward |
quantity | Quantity (number of lots \(times\) lot size) |
maturityDate | Maturity date |
strike | Strike |
Definition at line 26 of file equityforward.cpp.
|
override |
Definition at line 31 of file equityforward.cpp.
|
override |
Definition at line 33 of file equityforward.cpp.
const std::string & name | ( | ) | const |
Definition at line 68 of file equityforward.hpp.
Currency currency | ( | ) | const |
Definition at line 69 of file equityforward.hpp.
Position::Type longShort | ( | ) | const |
Definition at line 70 of file equityforward.hpp.
Real quantity | ( | ) | const |
Definition at line 71 of file equityforward.hpp.
Date maturityDate | ( | ) | const |
Definition at line 72 of file equityforward.hpp.
Real strike | ( | ) | const |
Definition at line 73 of file equityforward.hpp.
|
private |
Definition at line 77 of file equityforward.hpp.
|
private |
Definition at line 78 of file equityforward.hpp.
|
private |
Definition at line 79 of file equityforward.hpp.
|
private |
Definition at line 80 of file equityforward.hpp.
|
private |
Definition at line 81 of file equityforward.hpp.
|
private |
Definition at line 82 of file equityforward.hpp.