src
.
ExerciseBoundary
.
More details.
SyntheticData
More details.
Java source code can be downloaded
(file martingale-xxx).
Credits
.
libor-0.4.tar.gz
. This will create the directory libor-0.4
containing the entire distribution. Please don't delete any subdirectories even if they are empty - they will be filled during installation.
src
to the project. For compilation with g++ you need to set the include
path with
-I/path_to_directory/src
-I/path_to_directory/src/tnt
-I/path_to_directory/src/tnt/tnt
-I/path_to_directory/src/tnt/jama
and link with
-lm
Set the environment variable DEV_ROOT
to point to the directory
libor-0.4
:
export DEV_ROOT=/path_to_directory/libor-0.4
IncludeDirs
and LibraryDirs
variables.
Now move into the directory
libor-0.4
and type make
. This may or may not work on your system.
If it works everything is built and installed in subdirectories of libor-0.4
.
The object files are in obj
and libraries (examples, martingale) are in the directory
lib
. An executable main
is in bin
.
This is the Libor calibration example in dimension 50 with input files
SyntheticData/CapletsIn-PC-dim50-M-JR.txt,
SyntheticData/SwaptionsIn-PC-dim50-M-JR.txt
(prices generated in a predictor-corrector (PC) Libor Market Model of dimension 50 with M-vol-surface and JR-correlations)
and can be executed once we have pointed LD_LIBRARY_PATH
to the lib
directory:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DEV_ROOT/lib
This program must be executed from the top level directory ($DEV_ROOT) by typing bin/main
otherwise it will not find the input files.
The program calibrates a driftless LMM in dimension 50 with Jaeckel-Rebonato (JR) vol-surface
and Coffee-Shoenmakers (CS) correlations to the input prices. During execution it reports the current minimum
of the calibration error (objective function). The output files CapletsOut.txt, SwaptionsOut.txt
are in the the top level directory and report the relative calibration error for each instrument in %
(caplet prices being reproduced exactly).
You can then run other examples and test programs from main.cc
by uncommenting
the respective function calls and include directives and recompiling with make
in the top level directory ($DEV_ROOT). The file main.cc
is in
$DEV_ROOT/src/examples
.
make docs
in the top level directory generates the doxygen html documentation.
The entry point is $(DEV_ROOT)/doc/Index.html
.
Of course this assumes that you have doxygen
installed on your system.
Have fun,
Michael J Meyer (spyqqqdia@yahoo.com)