Skip to content

Commit cecfc37

Browse files
author
sebastien.bouvard
committed
QPR-13725 Doc
1 parent f28935c commit cecfc37

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Docs/UserGuide/tradedata/rainbow_option.tex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2012,9 +2012,7 @@ \subsubsection*{Worst Performance Rainbow Option 07}
20122012
sub-node with any positive number, as a percentage of the initial prices expressed in decimal form.
20132013
\item{}[event] \lstinline!DeterminationDates!: Knock-out determination dates, and trigger
20142014
determination dates. \\
2015-
Allowable values: See Section \ref{ss:schedule_data} ScheduleData, or DerivedSchedule (see ore/Docs/ScriptedTrade) if
2016-
derived from \lstinline!SettlementDates! or \lstinline!FixingSchedule!. The number of determination dates should
2017-
match the number of settlement and fixing dates.
2015+
Allowable values: See Section \ref{ss:schedule_data} ScheduleData.
20182016
\item{}[event] \lstinline!ObservationSchedule!: The schedule defining the observation dates for determining price lock-ins. \\
20192017
Allowable values: See Section \ref{ss:schedule_data}.
20202018
\item{}[event] \lstinline!ObservationDate!: The date on which the final levels of the assets are determined. \\

Docs/UserGuide/tradedata/scriptedtrades.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2625,7 +2625,7 @@ \subsubsection{Best of Airbag}
26252625
IF {worstUnderlyingFinalPrice < StrikePrices[worstUnderlying]} THEN
26262626
deliverableAsset = Quantity/StrikePrices[worstUnderlying];
26272627
roundAmount = round(deliverableAsset,0);
2628-
payoff = worstUnderlyingFinalPrice * roundAmount;
2628+
payoff = worstUnderlyingFinalPrice * roundAmount - Quantity;
26292629
ELSE
26302630
payoff = Quantity*max(BonusCoupon, worstPerformance - 1);
26312631
END;

0 commit comments

Comments
 (0)