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
Unary functions {\tt -x}, {\tt abs(x)}, {\tt exp(x)}, {\tt ln(x)}, {\tt sqrt(x)}, {\tt frac(x)} which take the fractional part of a float, applicable to numbers only.
The analytic is specified as usual in {\tt ore.xml} with the following parameters:
616
616
\begin{itemize}
617
617
\item outputFile: csv file name of the resulting VaR report
618
-
%\item breakdown: boolean, if true the VaR report will contain a breakdown by risk class and risk type, otherwise the report shows the portfolio-lvel VaR only.
619
-
\item tradePnl: boolean, if true the VaR report will contain a breakdown by tradeID, risk class and risk type, otherwise the report shows the portfolio-lvel VaR only.
618
+
%\item breakdown: boolean, if true the VaR report will contain a breakdown by risk class and risk type, otherwise the report shows the portfolio-level VaR only.
619
+
\item tradePnl: boolean, if true the VaR report will contain a breakdown by tradeID, risk class and risk type, otherwise the report shows the portfolio-level VaR only.
620
+
\item riskFactorBreakdown: boolean, if true the VaR report will contain a breakdown by risk factor.
620
621
\item quantiles: comma separated list of quantiles to be reported
621
622
\item portfolioFilter (optional): Only trades with {\tt portfolioId} equal to the provided filter name are processed, see {\tt portfolio.xml}; the entire portfolio is processed, if omitted
622
623
\item historicalPeriod: comma-separated date list, an even number of ordered dates is required (d1, d2, d3, d4, ...), where each pair (d1-d2, d3-d4, ...) defines the start and end of historical observation periods used
This node is used only if \lstinline!DontThrow! is \lstinline!true!. The meaning of this node is given in the description of the \lstinline!DontThrow! node. This node should hold a positive integer. If omitted, the default value is 10.
1265
1265
1266
-
\item\lstinline!Global! [Optional]: This nodes specifies whether the curve should use a global bootstrap over all
1267
-
instruments of the curve (true) or iterative bootstrap (false, default value). If global bootstrap is used, only the
1268
-
Accuracy field of the BootstrapConfig is relevant and specifies the accuracy of the global optimizer. If a cycle is
1269
-
present in the dependency graph of the curves, all members of the cycle must use global bootstrap, in this case a
1270
-
global optimization is run over all instrument of all members of the cycle simultaneously.
1266
+
\item\lstinline!Global! [Optional]: Defaults to false. This nodes specifies whether the curve should use a global
1267
+
bootstrap over all instruments of the curve (true) or iterative bootstrap (false, default value). If global bootstrap
1268
+
is used, only the fields Accuracy and SmoothnessLambda of the BootstrapConfig are relevant. Accurcy specifies the
1269
+
accuracy of the global optimizer in this case. Global bootstrap is required to build curves that form a cycle in the
1270
+
dependency graph, in this case all members of the cycle must have Global set to true in their bootstrap configs. In
1271
+
this case a global optimization is run over all instrument of all members of the cycle simultaneously. Global
1272
+
bootstrap is also required if according to the PillarChoice configuration of each segment there are curve instrument
1273
+
without or with more than one associated curve pillar date. Finally, global bootstrap can be preferable over iterative
1274
+
bootstrap if the latter requires an outer convergence loop, i.e. if a pillar choice is not set to LastRelevatDate or
1275
+
if the interpolation is non-local.
1276
+
1277
+
\item\lstinline!SmoothnessLambda! [Optional]: Defaults to zero. Only applies if GLobal is set to true. If positive,
1278
+
penalty components are included in the global optimization used to build a curve. For each adjacent pair of discrete
1279
+
forward rates $F_i$, $F_{i+1}$ between curve interpolation pillars, the term $\lambda\cdot(F_{i+1} - F_i)$ is added to
1280
+
the target function vector of which the MSE is optimized.
0 commit comments