Skip to content

Commit 044a266

Browse files
rolandlichtersjenkins
authored andcommitted
Resolve QPR-12156 enable spreaded curves for stress testing (plus other fixes, see ticket, for BNY project)
1 parent 8c12e45 commit 044a266

83 files changed

Lines changed: 330 additions & 676 deletions

File tree

Some content is hidden

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

Docs/UserGuide/userguide.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6135,10 +6135,15 @@ \subsection{Stress Scenario Analysis: {\tt stressconfig.xml}}\label{sec:stress}
61356135
In case of the swaption volatility shifts, the single value given as {\tt Shift} (without the attributes {\tt expiry}
61366136
and {\tt term}) represents a default value that is used whenever no explicit value is given for a expiry / term pair.
61376137

6138+
UseSpreadedTermStructures: If set to true, spreaded termstructures over t0 will be used for the scenario calculation, to
6139+
improve the alignment of the scenario sim market and t0 curves.
6140+
6141+
61386142
\begin{longlisting}
61396143
%\hrule\medskip
61406144
\begin{minted}[fontsize=\scriptsize]{xml}
61416145
<StressTesting>
6146+
<UseSpreadedTermStructures>false</UseSpreadedTermStructures>
61426147
<StressTest id="parallel_rates">
61436148
<DiscountCurves>
61446149
<DiscountCurve ccy="EUR">

Examples/Example_10/ExpectedOutput/log_structured.json

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

Examples/Example_10/Input/ore.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</Setup>
1818
<Markets>
1919
<Parameter name="lgmcalibration">collateral_inccy</Parameter>
20-
<Parameter name="fxcalibration">collateral_eur</Parameter>
21-
<Parameter name="pricing">collateral_eur</Parameter>
22-
<Parameter name="simulation">collateral_eur</Parameter>
20+
<Parameter name="fxcalibration">xois_eur</Parameter>
21+
<Parameter name="pricing">xois_eur</Parameter>
22+
<Parameter name="simulation">xois_eur</Parameter>
2323
</Markets>
2424
<Analytics>
2525
<Analytic type="npv">

Examples/Example_10/Input/ore_mpor.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</Setup>
1818
<Markets>
1919
<Parameter name="lgmcalibration">collateral_inccy</Parameter>
20-
<Parameter name="fxcalibration">collateral_eur</Parameter>
21-
<Parameter name="pricing">collateral_eur</Parameter>
22-
<Parameter name="simulation">collateral_eur</Parameter>
20+
<Parameter name="fxcalibration">xois_eur</Parameter>
21+
<Parameter name="pricing">xois_eur</Parameter>
22+
<Parameter name="simulation">xois_eur</Parameter>
2323
</Markets>
2424
<Analytics>
2525
<Analytic type="npv">

Examples/Example_10/Input/ore_mta.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</Setup>
1818
<Markets>
1919
<Parameter name="lgmcalibration">collateral_inccy</Parameter>
20-
<Parameter name="fxcalibration">collateral_eur</Parameter>
21-
<Parameter name="pricing">collateral_eur</Parameter>
22-
<Parameter name="simulation">collateral_eur</Parameter>
20+
<Parameter name="fxcalibration">xois_eur</Parameter>
21+
<Parameter name="pricing">xois_eur</Parameter>
22+
<Parameter name="simulation">xois_eur</Parameter>
2323
</Markets>
2424
<Analytics>
2525
<Analytic type="npv">

Examples/Example_10/Input/ore_threshold.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</Setup>
1818
<Markets>
1919
<Parameter name="lgmcalibration">collateral_inccy</Parameter>
20-
<Parameter name="fxcalibration">collateral_eur</Parameter>
21-
<Parameter name="pricing">collateral_eur</Parameter>
22-
<Parameter name="simulation">collateral_eur</Parameter>
20+
<Parameter name="fxcalibration">xois_eur</Parameter>
21+
<Parameter name="pricing">xois_eur</Parameter>
22+
<Parameter name="simulation">xois_eur</Parameter>
2323
</Markets>
2424
<Analytics>
2525
<Analytic type="npv">

Examples/Example_10/Input/ore_threshold_break.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</Setup>
1818
<Markets>
1919
<Parameter name="lgmcalibration">collateral_inccy</Parameter>
20-
<Parameter name="fxcalibration">collateral_eur</Parameter>
21-
<Parameter name="pricing">collateral_eur</Parameter>
22-
<Parameter name="simulation">collateral_eur</Parameter>
20+
<Parameter name="fxcalibration">xois_eur</Parameter>
21+
<Parameter name="pricing">xois_eur</Parameter>
22+
<Parameter name="simulation">xois_eur</Parameter>
2323
</Markets>
2424
<Analytics>
2525
<Analytic type="npv">

Examples/Example_10/Input/ore_threshold_dim.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</Setup>
1818
<Markets>
1919
<Parameter name="lgmcalibration">collateral_inccy</Parameter>
20-
<Parameter name="fxcalibration">collateral_eur</Parameter>
21-
<Parameter name="pricing">collateral_eur</Parameter>
22-
<Parameter name="simulation">collateral_eur</Parameter>
20+
<Parameter name="fxcalibration">xois_eur</Parameter>
21+
<Parameter name="pricing">xois_eur</Parameter>
22+
<Parameter name="simulation">xois_eur</Parameter>
2323
</Markets>
2424
<Analytics>
2525
<Analytic type="npv">

Examples/Example_14/ExpectedOutput/log_structured.json

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

Examples/Example_15/ExpectedOutput/log_structured.json

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

0 commit comments

Comments
 (0)