Skip to content

Commit d9aefaa

Browse files
author
jenkins
committed
git subrepo pull (merge) ore
subrepo: subdir: "ore" merged: "1d15d7427a" upstream: origin: "git@gitlab.acadiasoft.net:qs/ore.git" branch: "master" commit: "4401a7e197" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "73a0129"
2 parents 2c77394 + 4401a7e commit d9aefaa

350 files changed

Lines changed: 1841 additions & 882 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/curve_configurations/yieldcurves.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ \subsubsection*{Fitted Bond Segment}
456456
</Quotes>
457457
<!-- mapping of Ibor curves used in the bonds from which the curve is built -->
458458
<IborIndexCurves>
459-
<IborIndexCurve iborIndex="EUR-EURIBOR-6M">EUR-EURIBOR-6M</IborIndexCurve>
459+
<IborIndexCurve iborIndex="EUR-EURIBOR-6M">EUR6M</IborIndexCurve>
460460
</IborIndexCurves>
461461
<!-- flat extrapolation before first and after last bond maturity -->
462462
<ExtrapolateFlat>true</ExtrapolateFlat>

Docs/UserGuide/marketdata.tex

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,6 +1443,31 @@ \subsection{Bond Yield Spreads}
14431443
\item BOND/YIELD\_SPREAD/SECURITY\_1
14441444
\end{itemize}
14451445

1446+
%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1447+
\subsection{Bond Prices}
1448+
%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1449+
1450+
\begin{table}[H]
1451+
\centering
1452+
\begin{tabular}{|p{3cm}|p{3.5cm}|p{7cm}|}
1453+
\hline
1454+
{\bf Property} & {\bf Allowable values} & {\bf Description} \\ \hline
1455+
Instrument Type & \emph{BOND} & \\ \hline
1456+
Quote Type & \emph{PRICE} & \\ \hline
1457+
Name & String & Identifying name of the bond \\ \hline
1458+
\end{tabular}
1459+
\caption{Bond Prices}
1460+
\label{tab:bondprice_quote}
1461+
\end{table}
1462+
1463+
This quote provides the clean price for a specified bond in units.
1464+
1465+
\medskip
1466+
Examples:
1467+
\begin{itemize}
1468+
\item BOND/PRICE/SECURITY\_1
1469+
\end{itemize}
1470+
14461471
%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14471472
\subsection{Base Correlations}
14481473
%- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Docs/UserGuide/tradedata/bond.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ \subsubsection{Bond}
6060
An alphanumeric string of the form [CCY]-[INDEX]-[TERM]. CCY, INDEX and TERM must be separated by dashes (-). CCY and INDEX must be among the supported currency and index combinations. TERM must be an integer followed by D, W, M or Y. See Table \ref{tab:indices}.
6161

6262
For currencies without available ibor indices: \\
63-
An alphanumeric string of the form [CCY]BENCHMARK-[CCY]-TERM, matching a benchmark curve set up in the market data configuration.
63+
An alphanumeric string, matching a benchmark curve set up in the market data configuration in {\tt todaysmarket.xml} Yield curves section.
6464

6565
Examples: IDRBENCHMARK-IDR-3M, EGPBENCHMARK-EGP-3M, UAHBENCHMARK-UAH-3M, NGNBENCHMARK-NGN-3M
6666

Docs/UserGuide/userguide.tex

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ \subsection{Bonds and Amortisation Structures}% Example 18
21322132
%--------------------------------------------------------
21332133

21342134
The example in folder {\tt Examples/Example\_18} computes NPVs and cash flow projections for a vanilla bond portfolio
2135-
consisting of a range of bond products, in particular demonstrating amortisation features:
2135+
consisting of a range of bond products, in particular demonstrating amortisation features. Also, pricing using a benchmark bond price curve (bond definitions in referencedata.xml) is demonstrated:
21362136
\begin{itemize}
21372137
\item fixed rate bond
21382138
\item floating rate bond linked to Euribor 6M
@@ -2143,6 +2143,7 @@ \subsection{Bonds and Amortisation Structures}% Example 18
21432143
\item bond with fixed annuity amortisation
21442144
\item bond with floating annuity amortisation (this example needs QuantLib 1.10 or higher to work, in particular the amount() method in the Coupon class needs to be virtual)
21452145
\item bond with fixed amount amortisation followed by percentage amortisation relative to previous notional
2146+
\item fixed rate bond using a benchmark bond price curve instead of the benchmark yield curve
21462147
\end{itemize}
21472148

21482149
After running the example, the results of the computation can be found in the output files {\tt npv.csv} and {\tt
@@ -4069,6 +4070,7 @@ \subsubsection{Analytics}\label{sec:analytics}
40694070
<Parameter name="csaFile">netting.xml</Parameter>
40704071
<Parameter name="cubeFile">cube.csv.gz</Parameter>
40714072
<Parameter name="scenarioFile">scenariodata.csv.gz</Parameter>
4073+
<Parameter name="collateralBalancesFile">collateralbalances.xml</Parameter>
40724074
<Parameter name="baseCurrency">EUR</Parameter>
40734075
<Parameter name="exposureProfiles">Y</Parameter>
40744076
<Parameter name="exposureProfilesByTrade">Y</Parameter>
@@ -4096,6 +4098,7 @@ \subsubsection{Analytics}\label{sec:analytics}
40964098
<Parameter name="kvaOurCvaRiskWeight">0.005</Parameter>
40974099
<Parameter name="kvaTheirCvaRiskWeight">0.05</Parameter>
40984100
<Parameter name="dim">Y</Parameter>
4101+
<Parameter name="dimModel">Regression</Parameter>
40994102
<Parameter name="mva">Y</Parameter>
41004103
<Parameter name="dimQuantile">0.99</Parameter>
41014104
<Parameter name="dimHorizonCalendarDays">14</Parameter>
@@ -4129,6 +4132,7 @@ \subsubsection{Analytics}\label{sec:analytics}
41294132
\item {\tt cubeFile:} NPV cube file previously generated and to be post-processed here
41304133
\item {\tt scenarioFile:} Scenario data previously generated and used in the post-processor (simulated index fixings and
41314134
FX rates)
4135+
\item {\tt collateralBalancesFile:} References an xml file that contains current VM and IM balances by netting set
41324136
\item {\tt baseCurrency:} Expression currency for all NPVs, value adjustments, exposures
41334137
\item {\tt exposureProfiles:} Flag to enable/disable exposure output for each netting set
41344138
\item {\tt exposureProfilesByTrade:} Flag to enable/disable stand-alone exposure output for each trade
@@ -4186,7 +4190,10 @@ \subsubsection{Analytics}\label{sec:analytics}
41864190
\item {\tt exerciseNextBreak:} Flag to terminate all trades at their next break date before aggregation and the
41874191
subsequent analytics
41884192
\item {\tt cva, dva, fva, colva, collateralFloor, dim, mva:} Flags to enable/disable these analytics. \todo[inline]{Add
4189-
collateral rates floor to the collateral model file (netting.xml)}
4193+
collateral rates floor to the collateral model file (netting.xml)}
4194+
\item {\tt dimModel:} Type of dynamic initial margin model to be applied -- {\em Regression} or {\em Flat}. {\em Regression} is applied by default
4195+
when the dimModel node is omitted (see appendix and further settings related to the regression DIM model below); {\em Flat} means a simple flat
4196+
projection of todays's IM amount on each path (this requires providing today's IM using the {\tt collateralBalancesFile} parameter, see above)
41904197
\item {\tt dvaName:} Credit name to look up the own default probability curve and recovery rate for DVA calculation
41914198
\item {\tt fvaBorrowingCurve:} Identifier of the borrowing yield curve
41924199
\item {\tt fvaLendingCurve:} Identifier of the lending yield curve

0 commit comments

Comments
 (0)