Skip to content

Commit 1c4e3b7

Browse files
damienbarkerjenkins
authored andcommitted
QPR-9793 merge with master
2 parents dee1c83 + 00a5c82 commit 1c4e3b7

51 files changed

Lines changed: 6050 additions & 724 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Docs/ScriptedTrade/docs/models.tex

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ \subsection{Pricing Engine Configuration}\label{pricingengine_config}
2727
<Parameter name="Model_SingleAssetOptionBwd(FX)">BlackScholes</Parameter>
2828
<Parameter name="Model_SingleAssetOptionBwd(COMM)">BlackScholes</Parameter>
2929
<Parameter name="Model_SingleUnderlyingIrOption">GaussianCam</Parameter>
30+
<Parameter name="Model_SingleUnderlyingIrOptionBwd">GaussianCam</Parameter>
3031
<Parameter name="Model_MultiUnderlyingIrOption">GaussianCam</Parameter>
3132
<Parameter name="Model_IrHybrid(EQ)">GaussianCam</Parameter>
3233
<Parameter name="Model_IrHybrid(FX)">GaussianCam</Parameter>
@@ -38,6 +39,7 @@ \subsection{Pricing Engine Configuration}\label{pricingengine_config}
3839
<Parameter name="Engine">MC</Parameter>
3940
<Parameter name="Samples">10000</Parameter>
4041
<Parameter name="StateGridPoints">200</Parameter>
42+
<Parameter name="StateGridPoints_SingleUnderlyingIrOptionBwd">50</Parameter>
4143
<Parameter name="MesherEpsilon">1E-4</Parameter>
4244
<Parameter name="MesherScaling">1.5</Parameter>
4345
<Parameter name="MesherConcentration">0.1</Parameter>
@@ -54,7 +56,7 @@ \subsection{Pricing Engine Configuration}\label{pricingengine_config}
5456
<Parameter name="Engine_SingleAssetOptionBwd(EQ)">FD</Parameter>
5557
<Parameter name="Engine_SingleAssetOptionBwd(FX)">FD</Parameter>
5658
<Parameter name="Engine_SingleAssetOptionBwd(COMM)">FD</Parameter>
57-
<Parameter name="Engine_SingleUnderlyingIrOption">6</Parameter>
59+
<Parameter name="Engine_SingleUnderlyingIrOption">FD</Parameter>
5860
<Parameter name="useAD_MultiAssetOptionAD(EQ)">true</Parameter>
5961
<Parameter name="useAD_MultiAssetOptionAD(FX)">true</Parameter>
6062
<Parameter name="useAD_MultiAssetOptionAD(COMM)">true</Parameter>
@@ -188,11 +190,15 @@ \subsection{BlackScholes model}\label{blackscholes}
188190
189191
See \ref{pricingengine_config} for the impact of the model parameter FullDynamicFx on the model setup.
190192
191-
TimeStepsPerYear are ignored if the correlation structure is trivial, because then the process can be discretised
193+
For MC TimeStepsPerYear are ignored if the correlation structure is trivial, because then the process can be discretised
192194
exactly. Otherwise the given time steps per year are used to build a grid on which covariance matrices are computed
193195
assuming a constant volatility between the grid points. The actual MC paths are evoloved using these covariance matrices
194196
on the original (non-refined) time grid, i.e. taking large, exact steps again.
195197
198+
For FD TimeStepsPerYear, StateGridPoints, MesherEpsilon, MesherScaling, MesherConcentration,
199+
MesehMaxConcentrationPoints, MesherIsStatic are used, see the description of these parameters for their detailled
200+
interpretation.
201+
196202
\smallskip
197203
Available Engine types: MC, FD
198204
@@ -229,8 +235,12 @@ \subsection{GaussianCam models}
229235
230236
See \ref{pricingengine_config} for the impact of the model parameters FullDynamicFx, FullDynamicIr on the model setup.
231237
238+
The FD model variant is supported for a single underlying IR model only. A single calibration strike is supported that
239+
can be specified for any IR model index appearing in the script. TimeStepsPerYear, StateGridPoints, MesherEpsilon are
240+
used, see the description of these parameters for their detailled interpretation.
241+
232242
\smallskip
233-
Available Engine types: MC
243+
Available Engine types: MC, FD
234244
235245
\subsection{Base Currency Determination}\label{baseccy_determination}
236246
@@ -312,12 +322,12 @@ \subsection{Calibration}\label{calibration}
312322
The usage of the calibration strikes is twofold:
313323
314324
\begin{itemize}
315-
\item For the determination of calibration strikes. This is only relevant / supported by the BlackScholes model, which
316-
will use the first strike from the list to read the volatility from the market term structure (if Calibration is set
317-
to Deal in the model parameters).
325+
\item For the determination of calibration strikes. This is only relevant / supported by the BlackScholes and
326+
GaussianCam-FD model, which will use the first strike from the list to read the volatility from the market term
327+
structure (if Calibration is set to Deal in the model parameters).
318328
\item To determine concentration points for an FD mesher if \verb+Engine+ is set to \verb+FD+. The first $n$ strikes are
319329
used as concentration points where $n$ is the minimum of specified strikes and the engine parameter
320-
\verb+MesherMaxConcentrationPoints+.
330+
\verb+MesherMaxConcentrationPoints+. This is supported by the BlackScholes model only.
321331
\end{itemize}
322332
323333
\subsection{FX tags and correlation curves}\label{fxtags_correlationcurves}

Docs/ScriptedTrade/scriptedtrade.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ \section*{Document History}
135135
01-07-2021 & Peter Caspers & add case $d1>d2$ for ABOVEPROB, BELOWPROB \\
136136
13-09-2021 & Nathaniel Volfango & update Index section and add note on payment currency \\
137137
11-02-2022 & Peter Caspers & extend FWDCOMP, add FWDAVG function (breaking change) \\
138-
22-06-2023 & Peter Caspers & add config flags for external devices
138+
22-06-2023 & Peter Caspers & add config flags for external devices \\
139+
12-02-2024 & Peter Caspers & additions for FD GaussianCam model
139140
\\ \hline
140141
\end{supertabular}
141142
\end{center}

Docs/UserGuide/parameterisation/pricingengine.tex

Lines changed: 0 additions & 212 deletions
This file was deleted.

0 commit comments

Comments
 (0)