File: README.txt

package info (click to toggle)
quantlib 1.40-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,768 kB
  • sloc: cpp: 398,987; makefile: 6,574; python: 214; sh: 150; lisp: 86
file content (128 lines) | stat: -rw-r--r-- 2,579 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128

This folder includes examples on how to use QuantLib.

Basket Losses
-------------

This example uses a default basket losses portfolio construction to mitigate risk 
with additional models such as binomial model, Inhomogeneous model, and Random model.


BermudanSwaption
----------------

This example prices a few Bermudan swaptions using different short-rate
models calibrated to market swaptions.


Bonds
-----

This example shows how to set up a term structure and then price some
simple bonds. The last part is dedicated to peripheral computations
such as "Yield to Price" or "Price to Yield"


CallableBonds
-------------

This example prices a number of callable bonds and compares the
results to known good data.


CDS
---

This example bootstraps a default-probability curve over a number of
CDS and reprices them.


CVAIRS
------

This example reproduces Table 2 on page 11 of 
A Formula for Interest Rate Swaps Valuation under
Counterparty Risk in presence of Netting Agreements.


ConvertibleBonds
----------------

This example evaluates convertible bond values.


DiscreteHedging
---------------

This is an example on using QuantLib Montecarlo framework.

It computes profit and loss of a discrete interval hedging strategy and compares
with the results of Derman & Kamal's (Goldman Sachs Equity Derivatives Research)
Research Note: "When You Cannot Hedge Continuously: The Corrections to
Black-Scholes"
http://www.ederman.com/emanuelderman/GSQSpapers/when_you_cannot_hedge.pdf


EquityOption
------------

This example calculates equity option values with a number of methods.


FRA
---

Forward-rate agreement valuation example.


FittedBondCurve
---------------

This example fits a discount curve over a set of bonds with a number
of methods.


Gaussian1dModels
----------------

This example calibrates models using Gaussian short rate (GSR) and
Markov Functional Model.


GlobalOptimizer
---------------

Examples showing how to use the global optimizers in QuantLib.


Latent Model
------------

This sample code shows basic usage of a Latent variable model.


Market Models
-------------

This example explores various market models' delta and vega computes. 
Additional features include lower, upper bound, and standard error.


MulticurveBootstrapping
-----------------------

This example shows how to set up a term structure and then price a simple swap.


Replication
-----------

This example uses the CompositeInstrument class to build a static
replication of a down-and-out barrier option.


Repo
----

Fixed-coupon bond repo valuation example.