Coder Social home page Coder Social logo

dtsm-sofr-futures's Introduction

Dynamic Term Structure Models for SOFR Futures

This reposity contains the key code parts to the paper "Dynamic Term Structure Models for SOFR Futures". Specifically "SOFR_AFNS3diag.h" and "SOFR_shadow3diag.h" implements the Extended Kalman Filter used in the estimation of the three-facotr AFNS and shadow rate model. Furthermore, "Auxiliary.h" contains the necessary functions to price one- and three-month SOFR futures contracts in the Gaussian models considered in the paper as well as the shadow rate extension. "Gaussians.h" contains results on standard the Gaussian distribution, while "Toms462.h" and ""Toms462.cpp" is used to compute the decumulative bivariate cumulative normal distribution function.

Note: The functions are created to fit a certain futures input data used in the article. Appropriate modifications therefore have to be made for it to run on different data.

The c++ code also has a number of dependencies which have to be included to run the code.

The following Libraries have been used:

Eigen (https://eigen.tuxfamily.org/index.php?title=Main_Page)
Boost (https://www.boost.org/)
Optimlib (https://github.com/PatWie/CppNumericalSolvers)

The code should be seen as inspiration to implement similar models as those presented in the paper for e.g. SOFR or EFFR futures.

dtsm-sofr-futures's People

Contributors

jacob-skov avatar

Stargazers

 avatar  avatar Kai avatar Imtiaz Ahmad Ali avatar  avatar Pedro N. Rodriguez H avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.