#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, const Date &payDate=Date(), const Currency payCcy=Currency(), const QuantLib::ext::shared_ptr< QuantExt::FxIndex > &fxIndex=nullptr, const Date &fixingDate=Date()) | |
Instrument interface | |
| bool | isExpired () const override |
| void | setupArguments (PricingEngine::arguments *) const override |
Additional interface | |
| const std::string & | name () const |
| Currency | currency () const |
| Position::Type | longShort () const |
| Real | quantity () const |
| Date | maturityDate () const |
| Real | strike () const |
| Date | payDate () const |
| QuantLib::ext::shared_ptr< QuantExt::FxIndex > | fxIndex () const |
This class holds the term sheet data for an Equity Forward instrument.
| EquityForward | ( | const std::string & | name, |
| const Currency & | currency, | ||
| const Position::Type & | longShort, | ||
| const Real & | quantity, | ||
| const Date & | maturityDate, | ||
| const Real & | strike, | ||
| const Date & | payDate = Date(), | ||
| const Currency | payCcy = Currency(), | ||
| const QuantLib::ext::shared_ptr< QuantExt::FxIndex > & | fxIndex = nullptr, | ||
| const Date & | fixingDate = Date() ) |
| name | Equity Name |
| currency | Currency of the underlying |
| longShort | if true, we are long the forward |
| quantity | Quantity (number of lots \(times\) lot size) |
| maturityDate | Maturity date |
| strike | Strike |