Skip to content

Commit

Permalink
Export new constructors for ForwardRateAgreement (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jul 3, 2023
2 parents 82e11fc + 29d5823 commit 1d2f4d6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions SWIG/fra.i
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,21 @@ class ForwardRateAgreement : public Instrument {
const ext::shared_ptr<IborIndex>& index,
const Handle<YieldTermStructure>& discountCurve = Handle<YieldTermStructure>());

ForwardRateAgreement(const ext::shared_ptr<IborIndex>& index,
const Date& valueDate,
Position::Type type,
Rate strikeForwardRate,
Real notionalAmount,
Handle<YieldTermStructure> discountCurve = {});

ForwardRateAgreement(const ext::shared_ptr<IborIndex>& index,
const Date& valueDate,
const Date& maturityDate,
Position::Type type,
Rate strikeForwardRate,
Real notionalAmount,
Handle<YieldTermStructure> discountCurve = {});

Real amount() const;
Date fixingDate() const;
InterestRate forwardRate() const;
Expand Down

0 comments on commit 1d2f4d6

Please sign in to comment.