Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alecloudenback committed Nov 3, 2023
1 parent f29d50c commit 5d20633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contract.jl
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ end
"""
InterestRateSwap(curve, tenor; model_key="OIS")
A convenience method for creating an interest rate swap given a curve and a tenor via a `Composite` contract consisting of receiving a [fixed bond](@ref Bond.Fixed) and paying (i.e. [`Negative`](@ref FinanceCore.Negative)) [floating bond](@ref Bond.Floating). To switch directions of the pay/receive, simply wrap the swap with `Negative(...)`.
A convenience method for creating an interest rate swap given a curve and a tenor via a `Composite` contract consisting of receiving a [fixed bond](@ref Bond.Fixed) and paying (i.e. the negative of) a [floating bond](@ref Bond.Floating).
The notional is a unit (1.0) amount and assumed to settle four times per period.
Expand Down

0 comments on commit 5d20633

Please sign in to comment.