Skip to content

Commit 75cc528

Browse files
author
sebastien.bouvard
committed
QPR-13698 round deliverable asset
1 parent ec05e9c commit 75cc528

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Docs/UserGuide/tradedata/rainbow_option.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,7 +1752,7 @@ \subsubsection*{Worst Performance Rainbow Option 06}
17521752
fractionalAmount = frac(deliverableAsset);
17531753
fractionalAmount = round(fractionalAmount,4);
17541754
fractionalCashAmount = worstUnderlyingFinalPrice*fractionalAmount;
1755-
payoff = round(fractionalCashAmount,2)+deliverableAsset;
1755+
payoff = round(fractionalCashAmount,2)+round(deliverableAsset,0);
17561756
ELSE
17571757
IF worstUnderlyingFinalPrice >= BarrierLevels[worstUnderlying] THEN
17581758
payoff = Quantity*(1+max(BonusCoupon, worstPerformance-1));
@@ -1810,6 +1810,7 @@ \subsubsection*{Worst Performance Rainbow Option 06}
18101810
\item{}[currency] \lstinline!PayCcy!: The payment currency. For FX, where the underlying is provided
18111811
in the form \lstinline!FX-SOURCE-CCY1-CCY2! (see Table \ref{tab:fxindex_data}) this should
18121812
be \lstinline!CCY2!. If \lstinline!CCY1! or the currency of the underlying (for EQ and
1813-
COMM underlyings), this will result in a quanto payoff. Notice section ``Payment Currency'' in ore/Docs/ScriptedTrade. \\
1813+
COMM underlyings), this will result in a quanto payoff. The \lstinline!StrikePrices! and \lstinline!BarrierLevels! should be expressed in
1814+
as amount of CCY1 in CCY2.Notice section ``Payment Currency'' in ore/Docs/ScriptedTrade. \\
18141815
Allowable values: See Table \ref{tab:currency} for allowable currency codes.
18151816
\end{itemize}

0 commit comments

Comments
 (0)