You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -44,17 +44,19 @@ \subsubsection{Double Digital Option}
44
44
CCY2 per units of CCY1. For an Equity underlying this is the equity price expressed in the equity ccy. For a Commodity underlying this is the commodity price expressed in the commodity ccy. For an IR underlying this is the rate expressed in decimal form. Allowable values
45
45
are non-negative numbers.
46
46
\item Type1: The option type that applies to underlying 1. Allowable values: {\em Call}, {\em Put} or {\em Collar}. Underlying 1 is
47
-
considered to be in the money if the spot is above (Call) / below (Put) the BinaryLevel1 resp. between (Collar) the BinaryLevel1 and BinaryLevelCollarUpperBound1 at the expiry.
47
+
considered to be in the money if the spot is above (Call) / below (Put) the BinaryLevel1 resp. between (Collar) the BinaryLevel1 and BinaryLevelUpper1 at the expiry.
48
48
\item Type2: The option type that applies to underlying 2. Allowable values: {\em Call}, {\em Put} or {\em Collar}. Underlying 2 is
49
-
considered to be in the money if the spot is above (Call) / below (Put) the BinaryLevel1 resp. between (Collar) the BinaryLevel2 andthe BinaryLevelCollarUpperBound2 at the expiry.
49
+
considered to be in the money if the spot is above (Call) / below (Put) the BinaryLevel1 resp. between (Collar) the BinaryLevel2 andthe BinaryLevelUpper2 at the expiry.
50
50
\item Position: The option position type. Allowable values: {\em Long} or {\em Short}.
51
51
\item Underlying1: The first underlying, see \ref{ss:underlying}.
52
52
\item Underlying2: The second underlying, see \ref{ss:underlying}. Note that Type for both underlyings has allowable values \emph{Equity}, \emph{Commodity}, \emph{FX}, and \emph{IR}.
53
+
\item Underlying3 [Optional]: If defined, the first underlying in this transaction is treated as a spread between Underlying1 and Underlying3 (i.e.\ Underlying1 fixing minus Underlying3 fixing), see \ref{ss:underlying}. Underlying3 Type must be the same as Underlying1 Type.
54
+
\item Underlying4 [Optional]: If defined, the second underlying in this transaction is treated as a spread between Underlying2 and Underlying4 (i.e.\ Underlying2 fixing minus Underlying4 fixing), see \ref{ss:underlying}. Underlying4 Type must be the same as Underlying2 Type.
53
55
\item PayCcy: The currency in which the \verb+BinaryPayout+ is paid. See Table \ref{tab:currency} for allowable currency codes.
54
-
\itemBinaryLevelCollarUpperBound1: Optionalfield used only for Collar option. The upper bound for underlying 1. For an FX underlying (SOURCE-CCY1-CCY2) this is the number of units of
56
+
\itemBinaryLevelUpper1 [Optional]: This is field is used only for Collar option. The upper bound for underlying 1. For an FX underlying (SOURCE-CCY1-CCY2) this is the number of units of
55
57
CCY2 per units of CCY1. For an Equity underlying this is the equity price expressed in the equity ccy. For a Commodity underlying this is the commodity price expressed in the commodity ccy. For an IR underlying this is the rate expressed in decimal form. Allowable values
56
58
are non-negative numbers.
57
-
\itemBinaryLevelCollarUpperBound2: Optionalfield used only for Collar option. The upper bound for underlying 2. For an FX underlying (SOURCE-CCY1-CCY2) this is the number of units of
59
+
\itemBinaryLevelUpper2 [Optional]: This field is used only for Collar option. The upper bound for underlying 2. For an FX underlying (SOURCE-CCY1-CCY2) this is the number of units of
58
60
CCY2 per units of CCY1. For an Equity underlying this is the equity price expressed in the equity ccy. For a Commodity underlying this is the commodity price expressed in the commodity ccy. For an IR underlying this is the rate expressed in decimal form. Allowable values
\item\lstinline!BarrierData!: This is a trade component sub-node outlined in section \ref{ss:barrier_data}.
85
-
Level specified in BarrierData should be quoted as the amount in SoldCurrency per unit BoughtCurrency, with both currencies as defined in FxBarrierOptionData node.
86
-
Changing the option from Call to Put or vice versa does not require switching the barrier level, i.e. the level stays quoted as SoldCurrency per unit BoughtCurrency, regardless of Put/Call.
85
+
\lstinline!Level! specified in BarrierData should be quoted as the amount in SoldCurrency per unit BoughtCurrency, with both currencies as defined in FxBarrierOptionData node.
86
+
Note that the barrier \lstinline!Level! stays quoted as SoldCurrency per unit BoughtCurrency, regardless of Put/Call.
87
87
88
88
\item\lstinline!StartDate! [Optional]: The start date for checking if a barrier has been breached prior to today's date. If omitted or left blank no check is made and it is assumed no barrier has been breached in the past. Has no impact if set to today's date or a date in the future.
Copy file name to clipboardExpand all lines: Examples/Example_56/ore.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -152,7 +152,7 @@
152
152
"\n",
153
153
"This engine performes AMC valuation, exposure aggregation and XVA calculation in one shot on ORE's ComputationGraph. \n",
154
154
"\n",
155
-
"We can force calculation of sensitivities by bump & revalue if parameter **cvaBumpSensis=true**, see ore_bump.xml. This is what we do below, to generate \"reference\" sensitivities.\n"
155
+
"We can force calculation of sensitivities by bump & revalue if parameter **xvaCgBumpSensis=true**, see ore_bump.xml. This is what we do below, to generate \"reference\" sensitivities.\n"
0 commit comments