Skip to content

Commit 65e9ef6

Browse files
pcaspersjenkins
authored andcommitted
QPR-12159 QPR-9557 update documentation
1 parent bbb11c9 commit 65e9ef6

1 file changed

Lines changed: 36 additions & 4 deletions

File tree

Docs/UserGuide/curve_configurations/yieldcurves.tex

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ \subsubsection{Yield Curves}
1313
<Segments> </Segments>
1414
<InterpolationVariable> </InterpolationVariable>
1515
<InterpolationMethod> </InterpolationMethod>
16+
<MixedInterpolationCutoff> </MixedInterpolationCutoff>
1617
<YieldCurveDayCounter> </YieldCurveDayCounter>
1718
<Tolerance> </Tolerance>
1819
<Extrapolation> </Extrapolation>
@@ -40,6 +41,8 @@ \subsubsection{Yield Curves}
4041
\emph{Discount}.
4142
\item InterpolationMethod [Optional]: The interpolation method to use. The allowable values are given in Table
4243
\ref{tab:allow_interp_methods}. If the element is omitted or left blank, then it defaults to \emph{LogLinear}.
44+
\item MixedInterpolationCutoff [Optional]: If a mixed interpolation method is used, the number of segments to which the
45+
first interpolation method is applied. Defaults to 1.
4346
\item YieldCurveDayCounter [Optional]: The day count basis used internally by the yield curve to calculate the time between
4447
dates. In particular, if the curve is queried for a zero rate without specifying the day count basis, the zero rate that
4548
is returned has this basis. If the element is omitted or left blank, then it defaults to \emph{A365}.
@@ -88,6 +91,10 @@ \subsubsection{Yield Curves}
8891
LogQuadratic & Quadratic interpolation on the natural log of the interpolation variable \\ \hline
8992
Hermite & Hermite cubic spline interpolation \\ \hline
9093
CubicSpline & Non-monotonic cubic spline interpolation with second derivative at left and right \\ \hline
94+
DefaultLogMixedLinearCubic & Mixed interpolation, first linear, then monotonic Kruger cubic spline \\ \hline
95+
MonotonicLogMixedLinearCubic & Mixed interpolation, first linear, then monotonic natural cubic spline \\ \hline
96+
KrugerLogMixedLinearCubic & Mixed interpolation, first linear, then non-monotonic Kruger cubic spline \\ \hline
97+
LogMixedLinearCubicNaturalSpline & Mixed interpolation, first linear, then non-monotonic natural cubic spline \\ \hline
9198
ExponentialSplines & Exponential Spline curve fitting, for Fitted Bond Curves only \\ \hline
9299
NelsonSiegel & Nelson-Siegel curve fitting, for Fitted Bond Curves only \\ \hline
93100
Svensson & Svensson curve fitting, for Fitted Bond Curves only \\ \hline
@@ -149,7 +156,15 @@ \subsubsection*{Simple Segment}
149156
floating rates on the instruments underlying the quotes listed in the \lstinline!Quote! nodes during the bootstrap
150157
procedure. This is an optional node. If it is left blank or omitted, then the projection curve is assumed to equal the
151158
curve being bootstrapped i.e.\ the current CurveId. The \lstinline!PillarChoice! node determines the bootstrap pillars
152-
that are used (MaturityDate, LastRelevantDate).
159+
that are used (MaturityDate, LastRelevantDate, if not given 'LastRelevantDate' is the default value).
160+
161+
The \lstinline!Priority! node determines the priority of the segment, this has to be a non-negative integer. A lower
162+
number means a higher priority (more ``important'') segment. If not given, the priority defaults to 0 (highest possible
163+
priority). The \lstinline!MinDistance! node determines the minimum distance in calendar days that is kept for the pillar
164+
dates of instruments between segments with different priority. This has to be a non-negative integer. If not given the
165+
minimum distance defaults to 1 (minimal possible distance between two bootstrap instruments). If instruments of two
166+
segments with different priority overlap w.r.t. the minimum distance defined for the segment with lower priority,
167+
instruments from the segments with lower priority are removed until the overlap is resolved.
153168
154169
\begin{listing}[H]
155170
%\hrule\medskip
@@ -163,6 +178,8 @@ \subsubsection*{Simple Segment}
163178
</Quotes>
164179
<Conventions> </Conventions>
165180
<PillarChoice> </PillarChoice>
181+
<Priority> </Priority>
182+
<MinDistance> </MinDistance>
166183
<ProjectionCurve> </ProjectionCurve>
167184
</Simple>
168185
\end{minted}
@@ -178,7 +195,10 @@ \subsubsection*{Average OIS Segment}
178195
IRS quote and an OIS-LIBOR basis swap spread quote. The IDs of these two quotes are stored in the
179196
\lstinline!CompositeQuote! node. The \lstinline!RateQuote! node holds the ID of the vanilla IRS quote and the
180197
\lstinline!SpreadQuote! node holds the ID of the OIS-LIBOR basis swap spread quote. The \lstinline!PillarChoice! node
181-
determines the bootstrap pillars that are used (MaturityDate, LastRelevantDate).
198+
determines the bootstrap pillars that are used (MaturityDate, LastRelevantDate, if not given 'LastRelevantDate' is the
199+
default value).
200+
201+
For the \lstinline!Priority! and \lstinline!MinDistance! nodes see the explanation under ``Simple Segment''.
182202
183203
\begin{listing}[H]
184204
%\hrule\medskip
@@ -192,6 +212,8 @@ \subsubsection*{Average OIS Segment}
192212
</Quotes>
193213
<Conventions> </Conventions>
194214
<PillarChoice> </PillarChoice>
215+
<Priority> </Priority>
216+
<MinDistance> </MinDistance>
195217
<ProjectionCurve> </ProjectionCurve>
196218
</AverageOIS>
197219
\end{minted}
@@ -229,7 +251,9 @@ \subsubsection*{Tenor Basis Segment}
229251
optional nodes. If they are left blank or omitted, then the projection curve is assumed to equal the curve being
230252
bootstrapped i.e.\ the current CurveId. However, at least one of the nodes needs to be populated to allow the bootstrap
231253
to proceed. The \lstinline!PillarChoice! node determines the bootstrap pillars that are used (MaturityDate,
232-
LastRelevantDate).
254+
LastRelevantDate, if not given 'LastRelevantDate' is the default value).
255+
256+
For the \lstinline!Priority! and \lstinline!MinDistance! nodes see the explanation under ``Simple Segment''.
233257
234258
\begin{listing}[H]
235259
%\hrule\medskip
@@ -243,6 +267,8 @@ \subsubsection*{Tenor Basis Segment}
243267
</Quotes>
244268
<Conventions> </Conventions>
245269
<PillarChoice> </PillarChoice>
270+
<Priority> </Priority>
271+
<MinDistance> </MinDistance>
246272
<ProjectionCurveLong> </ProjectionCurveLong>
247273
<ProjectionCurveShort> </ProjectionCurveShort>
248274
</TenorBasis>
@@ -259,7 +285,7 @@ \subsubsection*{Cross Currency Segment}
259285
in the other currency i.e.\ the currency in the currency pair that is not equal to the currency in Listing
260286
\ref{lst:top_level_yc}. The \lstinline!SpotRate! node holds the ID of a spot FX quote for the currency pair that is
261287
looked up in the {\tt market.txt} file. The \lstinline!PillarChoice! node determines the bootstrap pillars that are used
262-
(MaturityDate, LastRelevantDate).
288+
(MaturityDate, LastRelevantDate, if not given 'LastRelevantDate' is the default value).
263289
264290
\begin{listing}[H]
265291
%\hrule\medskip
@@ -273,6 +299,8 @@ \subsubsection*{Cross Currency Segment}
273299
</Quotes>
274300
<Conventions> </Conventions>
275301
<PillarChoice> </PillarChoice>
302+
<Priority> </Priority>
303+
<MinDistance> </MinDistance>
276304
<DiscountCurve> </DiscountCurve>
277305
<SpotRate> </SpotRate>
278306
</CrossCurrency>
@@ -294,6 +322,8 @@ \subsubsection*{Cross Currency Segment}
294322
the other currency. If it is left blank or omitted, then it is assumed to equal the CurveId provided in the
295323
\lstinline!DiscountCurve! node in this segment.
296324
325+
For the \lstinline!Priority! and \lstinline!MinDistance! nodes see the explanation under ``Simple Segment''.
326+
297327
\begin{listing}[H]
298328
%\hrule\medskip
299329
\begin{minted}[fontsize=\footnotesize]{xml}
@@ -306,6 +336,8 @@ \subsubsection*{Cross Currency Segment}
306336
</Quotes>
307337
<Conventions> </Conventions>
308338
<PillarChoice> </PillarChoice>
339+
<Priority> </Priority>
340+
<MinDistance> </MinDistance>
309341
<DiscountCurve> </DiscountCurve>
310342
<SpotRate> </SpotRate>
311343
<ProjectionCurveDomestic> </ProjectionCurveDomestic>

0 commit comments

Comments
 (0)