File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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) ;
17561756ELSE
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 }
You can’t perform that action at this time.
0 commit comments