Skip to content

Commit 094a1a8

Browse files
author
jenkins
committed
git subrepo pull (merge) ore
subrepo: subdir: "ore" merged: "d064dd9544" upstream: origin: "git@gitlab.acadiasoft.net:qs/ore.git" branch: "master" commit: "e2e21ee571" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb"
2 parents 8c74660 + e2e21ee commit 094a1a8

45 files changed

Lines changed: 13501 additions & 926 deletions

Some content is hidden

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

Docs/UserGuide/simmcalibration.tex

Lines changed: 600 additions & 0 deletions
Large diffs are not rendered by default.

Docs/UserGuide/userguide.tex

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4348,6 +4348,7 @@ \subsubsection{Analytics}\label{sec:analytics}
43484348
<Parameter name="resultCurrency">USD</Parameter>
43494349
<Parameter name="enforceIMRegulations">true</Parameter>
43504350
<Parameter name="mporDays">1</Parameter>
4351+
<Parameter name="simmCalibration">simmcalibration.xml</Parameter>
43514352
</Analytic>
43524353
<Analytics>
43534354
\end{minted}
@@ -4359,7 +4360,7 @@ \subsubsection{Analytics}\label{sec:analytics}
43594360

43604361
\begin{itemize}
43614362
\item {\tt version:} SIMM model version string \\
4362-
Allowable values: 1.0, 1.1, 1.2, 1.3, 1.3.38, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.5A \\
4363+
Allowable values: 1.0, 1.1, 1.2, 1.3, 1.3.38, 2.0, 2.1, 2.2, 2.3, 2.4 (or 2.3.8), 2.5, 2.5A, 2.6 (or 2.5.6) \\
43634364
Note that any new SIMM model versions are integrated into ORE with each release, tested against the official ISDA SIMM unit tests.
43644365
\item {\tt crif:} Name of the CRIF file to be loaded
43654366
\item {\tt calculationCurrency:} Determines the {\tt Risk\_FX} CRIF entry that is ignored in ISDA SIMM calculation \\
@@ -4370,6 +4371,7 @@ \subsubsection{Analytics}\label{sec:analytics}
43704371
Allowable values: Allowable boolean values are given in Table \ref{tab:boolean_allowable}. Defaults to \emph{False} if omitted.
43714372
\item {\tt mporDays} (optional): Currency for expressing the amounts in the resulting SIMM report, by default set to the calculationCurrency. \\
43724373
Allowable values: See Table \ref{tab:currency} \lstinline!Currency!.
4374+
\item {\tt simmCalibration} (optional): Name of the SIMM calibration configuration file. See Section \ref{sec:simmcalibration} \lstinline!SIMM Calibration!.
43734375
\end{itemize}
43744376

43754377
The SIMM analytic requires minimal market data input and today's market configuration - FX rates for conversions calculation currency, USD and result currency.
@@ -6253,6 +6255,8 @@ \subsection{Calendar Adjustment: {\tt calendaradjustment.xml}}\label{sec:calenda
62536255

62546256
\include{iborfallbackconfig}
62556257

6258+
\include{simmcalibration}
6259+
62566260
%--------------------------------------------------------
62576261
%\subsection{Conventions: {\tt conventions.xml}}
62586262
%\label{sec:conventions}
@@ -7844,6 +7848,9 @@ \subsubsection*{Monte Carlo Simulation}
78447848
\bibitem{Andersen2016} Leif B. G. Andersen, Michael Pykhtin, Alexander Sokol, {\em Rethinking Margin Period of Risk},
78457849
http://papers.ssrn.com/sol3/papers.cfm?abstract\_id=2719964, 2016
78467850

7851+
\bibitem{SIMM2.5A} ISDA SIMM Methodology, version 2.5A, (based on v2.5a) \\
7852+
\url{https://www.isda.org/a/FBLgE/ISDA-SIMM\_v2.5A.pdf}
7853+
78477854
% \bibitem{SIMM}{SIMM Methodology\\ \tiny
78487855
% http://www2.isda.org/attachment/ODM1Mw==/ISDA\%20SIMM\%20Methodology\_7\%20April\%202016\_v3.15\%20(PUBLIC).pdf}
78497856

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#Portfolio,ProductClass,RiskClass,MarginType,Bucket,SimmSide,Regulation,InitialMargin,Currency,CalculationCurrency
2+
CRIF_20191230,RatesFX,InterestRate,Delta,All,Call,ESA,812069.42,USD,USD
3+
CRIF_20191230,RatesFX,InterestRate,Delta,USD,Call,ESA,812069.42,USD,USD
4+
CRIF_20191230,RatesFX,InterestRate,Vega,All,Call,ESA,164145.02,USD,USD
5+
CRIF_20191230,RatesFX,InterestRate,Vega,USD,Call,ESA,164145.02,USD,USD
6+
CRIF_20191230,RatesFX,InterestRate,Curvature,All,Call,ESA,72875.51,USD,USD
7+
CRIF_20191230,RatesFX,InterestRate,Curvature,USD,Call,ESA,2114.17,USD,USD
8+
CRIF_20191230,RatesFX,InterestRate,All,All,Call,ESA,1049089.95,USD,USD
9+
CRIF_20191230,RatesFX,All,Delta,All,Call,ESA,812069.42,USD,USD
10+
CRIF_20191230,RatesFX,All,Vega,All,Call,ESA,164145.02,USD,USD
11+
CRIF_20191230,RatesFX,All,Curvature,All,Call,ESA,72875.51,USD,USD
12+
CRIF_20191230,RatesFX,All,All,All,Call,ESA,1049089.95,USD,USD
13+
CRIF_20191230,All,InterestRate,Delta,All,Call,ESA,812069.42,USD,USD
14+
CRIF_20191230,All,InterestRate,Vega,All,Call,ESA,164145.02,USD,USD
15+
CRIF_20191230,All,InterestRate,Curvature,All,Call,ESA,72875.51,USD,USD
16+
CRIF_20191230,All,InterestRate,All,All,Call,ESA,1049089.95,USD,USD
17+
CRIF_20191230,All,All,Delta,All,Call,ESA,812069.42,USD,USD
18+
CRIF_20191230,All,All,Vega,All,Call,ESA,164145.02,USD,USD
19+
CRIF_20191230,All,All,Curvature,All,Call,ESA,72875.51,USD,USD
20+
CRIF_20191230,All,All,All,All,Call,ESA,1049089.95,USD,USD
21+
All,All,All,All,All,Call,ESA,1049089.95,USD,USD
22+
CRIF_20191230,RatesFX,InterestRate,Delta,All,Post,CFTC,812069.42,USD,USD
23+
CRIF_20191230,RatesFX,InterestRate,Delta,USD,Post,CFTC,812069.42,USD,USD
24+
CRIF_20191230,RatesFX,InterestRate,Vega,All,Post,CFTC,164145.02,USD,USD
25+
CRIF_20191230,RatesFX,InterestRate,Vega,USD,Post,CFTC,164145.02,USD,USD
26+
CRIF_20191230,RatesFX,InterestRate,Curvature,USD,Post,CFTC,2114.17,USD,USD
27+
CRIF_20191230,RatesFX,InterestRate,All,All,Post,CFTC,976214.44,USD,USD
28+
CRIF_20191230,RatesFX,All,Delta,All,Post,CFTC,812069.42,USD,USD
29+
CRIF_20191230,RatesFX,All,Vega,All,Post,CFTC,164145.02,USD,USD
30+
CRIF_20191230,RatesFX,All,All,All,Post,CFTC,976214.44,USD,USD
31+
CRIF_20191230,All,InterestRate,Delta,All,Post,CFTC,812069.42,USD,USD
32+
CRIF_20191230,All,InterestRate,Vega,All,Post,CFTC,164145.02,USD,USD
33+
CRIF_20191230,All,InterestRate,All,All,Post,CFTC,976214.44,USD,USD
34+
CRIF_20191230,All,All,Delta,All,Post,CFTC,812069.42,USD,USD
35+
CRIF_20191230,All,All,Vega,All,Post,CFTC,164145.02,USD,USD
36+
CRIF_20191230,All,All,All,All,Post,CFTC,976214.44,USD,USD
37+
All,All,All,All,All,Post,CFTC,976214.44,USD,USD
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#Portfolio,ProductClass,RiskClass,MarginType,Bucket,SimmSide,Regulation,InitialMargin,Currency,CalculationCurrency
2+
CRIF_20191230,RatesFX,InterestRate,Delta,All,Call,ESA,230752.53,USD,USD
3+
CRIF_20191230,RatesFX,InterestRate,Delta,USD,Call,ESA,230752.53,USD,USD
4+
CRIF_20191230,RatesFX,InterestRate,Vega,All,Call,ESA,42860.09,USD,USD
5+
CRIF_20191230,RatesFX,InterestRate,Vega,USD,Call,ESA,42860.09,USD,USD
6+
CRIF_20191230,RatesFX,InterestRate,Curvature,All,Call,ESA,5424.34,USD,USD
7+
CRIF_20191230,RatesFX,InterestRate,Curvature,USD,Call,ESA,211.42,USD,USD
8+
CRIF_20191230,RatesFX,InterestRate,All,All,Call,ESA,279036.96,USD,USD
9+
CRIF_20191230,RatesFX,All,Delta,All,Call,ESA,230752.53,USD,USD
10+
CRIF_20191230,RatesFX,All,Vega,All,Call,ESA,42860.09,USD,USD
11+
CRIF_20191230,RatesFX,All,Curvature,All,Call,ESA,5424.34,USD,USD
12+
CRIF_20191230,RatesFX,All,All,All,Call,ESA,279036.96,USD,USD
13+
CRIF_20191230,All,InterestRate,Delta,All,Call,ESA,230752.53,USD,USD
14+
CRIF_20191230,All,InterestRate,Vega,All,Call,ESA,42860.09,USD,USD
15+
CRIF_20191230,All,InterestRate,Curvature,All,Call,ESA,5424.34,USD,USD
16+
CRIF_20191230,All,InterestRate,All,All,Call,ESA,279036.96,USD,USD
17+
CRIF_20191230,All,All,Delta,All,Call,ESA,230752.53,USD,USD
18+
CRIF_20191230,All,All,Vega,All,Call,ESA,42860.09,USD,USD
19+
CRIF_20191230,All,All,Curvature,All,Call,ESA,5424.34,USD,USD
20+
CRIF_20191230,All,All,All,All,Call,ESA,279036.96,USD,USD
21+
All,All,All,All,All,Call,ESA,279036.96,USD,USD
22+
CRIF_20191230,RatesFX,InterestRate,Delta,All,Post,CFTC,230752.53,USD,USD
23+
CRIF_20191230,RatesFX,InterestRate,Delta,USD,Post,CFTC,230752.53,USD,USD
24+
CRIF_20191230,RatesFX,InterestRate,Vega,All,Post,CFTC,42860.09,USD,USD
25+
CRIF_20191230,RatesFX,InterestRate,Vega,USD,Post,CFTC,42860.09,USD,USD
26+
CRIF_20191230,RatesFX,InterestRate,Curvature,USD,Post,CFTC,211.42,USD,USD
27+
CRIF_20191230,RatesFX,InterestRate,All,All,Post,CFTC,273612.62,USD,USD
28+
CRIF_20191230,RatesFX,All,Delta,All,Post,CFTC,230752.53,USD,USD
29+
CRIF_20191230,RatesFX,All,Vega,All,Post,CFTC,42860.09,USD,USD
30+
CRIF_20191230,RatesFX,All,All,All,Post,CFTC,273612.62,USD,USD
31+
CRIF_20191230,All,InterestRate,Delta,All,Post,CFTC,230752.53,USD,USD
32+
CRIF_20191230,All,InterestRate,Vega,All,Post,CFTC,42860.09,USD,USD
33+
CRIF_20191230,All,InterestRate,All,All,Post,CFTC,273612.62,USD,USD
34+
CRIF_20191230,All,All,Delta,All,Post,CFTC,230752.53,USD,USD
35+
CRIF_20191230,All,All,Vega,All,Post,CFTC,42860.09,USD,USD
36+
CRIF_20191230,All,All,All,All,Post,CFTC,273612.62,USD,USD
37+
All,All,All,All,All,Post,CFTC,273612.62,USD,USD
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0"?>
2+
<ORE>
3+
<Setup>
4+
<Parameter name="asofDate">2019-12-30</Parameter>
5+
<Parameter name="inputPath">Input</Parameter>
6+
<Parameter name="outputPath">Output/SIMM2.5A_10D_calibration</Parameter>
7+
<Parameter name="logFile">log.txt</Parameter>
8+
<Parameter name="logMask">255</Parameter>
9+
<Parameter name="marketDataFile">market.txt</Parameter>
10+
<Parameter name="fixingDataFile"></Parameter>
11+
<Parameter name="implyTodaysFixings">N</Parameter>
12+
<Parameter name="curveConfigFile">../../Input/curveconfig.xml</Parameter>
13+
<Parameter name="conventionsFile">../../Input/conventions.xml</Parameter>
14+
<Parameter name="marketConfigFile">todaysmarket.xml</Parameter>
15+
<Parameter name="pricingEnginesFile">../../Input/pricingengine.xml</Parameter>
16+
<Parameter name="portfolioFile"></Parameter>
17+
<Parameter name="observationModel">None</Parameter>
18+
</Setup>
19+
<Markets>
20+
<Parameter name="lgmcalibration">default</Parameter>
21+
<Parameter name="fxcalibration">default</Parameter>
22+
<Parameter name="pricing">default</Parameter>
23+
<Parameter name="simulation">default</Parameter>
24+
</Markets>
25+
<Analytics>
26+
<Analytic type="simm">
27+
<Parameter name="active">Y</Parameter>
28+
<!-- 1.0, 1.1, 1.2, 1.3, 1.3.38, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.5A, 2.6 -->
29+
<Parameter name="version">2.5A</Parameter>
30+
<Parameter name="crif">crif.csv</Parameter>
31+
<Parameter name="calculationCurrency">USD</Parameter>
32+
<Parameter name="enforceIMRegulations">Y</Parameter>
33+
<Parameter name="mporDays">10</Parameter>
34+
<Parameter name="simmCalibration">simm_calibration.xml</Parameter>
35+
</Analytic>
36+
</Analytics>
37+
</ORE>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0"?>
2+
<ORE>
3+
<Setup>
4+
<Parameter name="asofDate">2019-12-30</Parameter>
5+
<Parameter name="inputPath">Input</Parameter>
6+
<Parameter name="outputPath">Output/SIMM2.5A_1D_calibration</Parameter>
7+
<Parameter name="logFile">log.txt</Parameter>
8+
<Parameter name="logMask">255</Parameter>
9+
<Parameter name="marketDataFile">market.txt</Parameter>
10+
<Parameter name="fixingDataFile"></Parameter>
11+
<Parameter name="implyTodaysFixings">N</Parameter>
12+
<Parameter name="curveConfigFile">../../Input/curveconfig.xml</Parameter>
13+
<Parameter name="conventionsFile">../../Input/conventions.xml</Parameter>
14+
<Parameter name="marketConfigFile">todaysmarket.xml</Parameter>
15+
<Parameter name="pricingEnginesFile">../../Input/pricingengine.xml</Parameter>
16+
<Parameter name="portfolioFile"></Parameter>
17+
<Parameter name="observationModel">None</Parameter>
18+
</Setup>
19+
<Markets>
20+
<Parameter name="lgmcalibration">default</Parameter>
21+
<Parameter name="fxcalibration">default</Parameter>
22+
<Parameter name="pricing">default</Parameter>
23+
<Parameter name="simulation">default</Parameter>
24+
</Markets>
25+
<Analytics>
26+
<Analytic type="simm">
27+
<Parameter name="active">Y</Parameter>
28+
<!-- 1.0, 1.1, 1.2, 1.3, 1.3.38, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.5A, 2.6 -->
29+
<Parameter name="version">2.5A</Parameter>
30+
<Parameter name="crif">crif.csv</Parameter>
31+
<Parameter name="calculationCurrency">USD</Parameter>
32+
<Parameter name="enforceIMRegulations">Y</Parameter>
33+
<Parameter name="mporDays">1</Parameter>
34+
<Parameter name="simmCalibration">simm_calibration.xml</Parameter>
35+
</Analytic>
36+
</Analytics>
37+
</ORE>

0 commit comments

Comments
 (0)