@@ -1125,7 +1125,7 @@ \subsubsection{Product Type: CMS}
11251125
11261126\begin{longlisting}
11271127\begin{minted}[fontsize=\footnotesize]{xml}
1128- roduct type="CMS">
1128+ <Prooduct type="CMS">
11291129 <Model>LinearTSR</Model>
11301130 <ModelParameters/>
11311131 <Engine>LinearTSRPricer</Engine>
@@ -1141,13 +1141,100 @@ \subsubsection{Product Type: CMS}
11411141 <Parameter name="BsStdDev">3.0</Parameter>
11421142 <Parameter name="SensitivityTemplate">IR_Semianalytical</Parameter>
11431143 </EngineParameters>
1144- </Product>\end{minted}
1144+ </Product>
1145+ \end{minted}
11451146\caption{Configuration for Product CMS, Model LinearTSR, Engine LinearTSRPricer}
11461147\label{lst:peconfig_CMS_LinearTSR_LinearTSRPricer}
11471148\end{longlisting}
11481149
11491150Hagan/Analytic, Hagan/Numerical build AnalyticHaganPricer, NumericHaganPricer (TODO add parameters and sample config).
11501151
1152+ %--------------------------------------------------------
1153+ \subsubsection{Product Type: CMSSpread}
1154+ %--------------------------------------------------------
1155+
1156+ Used by trade type: any trade referencing a CMSSpread leg
1157+
1158+ Available Model/Engine pairs:
1159+
1160+ \begin{itemize}
1161+ \item BrigoMercurio/Analytic
1162+ \end{itemize}
1163+
1164+ Engine description:
1165+
1166+ BrigoMercurio/Analytic builds a LognormalCmsSpreadPricer (following Brigo, Mercurio, Interest Rate Models - Theory and
1167+ Practice, section 13.16.2). A sample configuration is shown in listing
1168+ \ref{lst:peconfig_CMSSpread_BrigoMercurio_Analytic}.
1169+
1170+ The parameters have the following meaning:
1171+
1172+ \begin{itemize}
1173+ \item IntegrationPoints: Number of points for Gauss-Hermite numerical integration
1174+ \item SensitivityTemplate [optional]: the sensitivity template to use
1175+ \end{itemize}
1176+
1177+ \begin{longlisting}
1178+ \begin{minted}[fontsize=\footnotesize]{xml}
1179+ <Product type="CMSSpread">
1180+ <Model>BrigoMercurio</Model>
1181+ <ModelParameters/>
1182+ <Engine>Analytic</Engine>
1183+ <EngineParameters>
1184+ <Parameter name="IntegrationPoints">16</Parameter>
1185+ <Parameter name="SensitivityTemplate">IR_Semianalytical</Parameter>
1186+ </EngineParameters>
1187+ </Product>\caption{Configuration for Product CMSSpread, Model BrigoMercurio, Engine Analytic}
1188+ \end{minted}
1189+ \label{lst:peconfig_CMSSpread_BrigoMercurio_Analytic}
1190+ \end{longlisting}
1191+
1192+ %--------------------------------------------------------
1193+ \subsubsection{Product Type: DurationAdjustedCMS}
1194+ %--------------------------------------------------------
1195+
1196+ Used by trade type: any trade referencing a DurationAdjustedCMS leg
1197+
1198+ Available Model/Engine pairs:
1199+
1200+ \begin{itemize}
1201+ \item LinearTSR/LinearTSRPricer
1202+ \end{itemize}
1203+
1204+ Engine description:
1205+
1206+ LinearTSR/LinearTSRPricer builds a DurationAdjustedCmsCouponTsrPricer with LinearAnnuityMapping. A sample configuration
1207+ is shown in listing \ref{lst:peconfig_DurationAdjustedCMS_LinearTSR_LinearTSRPricer}.
1208+
1209+ The parameters have the following meaning:
1210+
1211+ \begin{itemize}
1212+ \item MeanReversion: the mean reversion for the model
1213+ \item LowerRateBoundLogNormal, UpperRateBoundLogNormal: rate bounds for ln / sln vol input
1214+ \item LowerRateNormal, UpperRateNormal: rate bounds for normal vol input
1215+ \item SensitivityTemplate [optional]: the sensitivity template to use
1216+ \end{itemize}
1217+
1218+ \begin{longlisting}
1219+ \begin{minted}[fontsize=\footnotesize]{xml}
1220+ <Product type="DurationAdjustedCMS">
1221+ <Model>LinearTSR</Model>
1222+ <ModelParameters/>
1223+ <Engine>LinearTSRPricer</Engine>
1224+ <EngineParameters>
1225+ <Parameter name="MeanReversion">0.0</Parameter>
1226+ <Parameter name="LowerRateBoundLogNormal">0.0001</Parameter>
1227+ <Parameter name="UpperRateBoundLogNormal">2.0000</Parameter>
1228+ <Parameter name="LowerRateBoundNormal">-2.0000</Parameter>
1229+ <Parameter name="UpperRateBoundNormal">2.0000</Parameter>
1230+ <Parameter name="SensitivityTemplate">IR_Semianalytical</Parameter>
1231+ </EngineParameters>
1232+ </Product>
1233+ \end{minted}
1234+ \caption{Configuration for Product DurationAdjustedCMS, Model LinearTSR, Engine LinearTSRPricer}
1235+ \label{lst:peconfig_DurationAdjustedCMS_LinearTSR_LinearTSRPricer}
1236+ \end{longlisting}
1237+
11511238%--------------------------------------------------------
11521239\subsubsection{Product Type: CommodityAsianOptionArithmeticPrice}
11531240%--------------------------------------------------------
0 commit comments