Giter Site home page Giter Site logo

curve-building's Introduction

curve-building

Libor curve bootstrapping example from cash, Eurodollar future and interest rate swap instruments.

The spreadsheet contains six tabs.

  • BBG Replica
  • BBG Data Table
  • BBG Input
  • BBG Input Tickers
  • BBG Output
  • BBG Output Tickers

On the "BBG Input" tab, one can see Bloomberg screen shots of the input data. Input tab screen shot has three instrument groups - Cash Rates, Contiguous Futures, and Swap Rates. Instruments that are used for bootstrapping are highlighted in orange. The Zero Rates Chart at the bottom is the output curve. This curve is broken into three segments - short end, middle, and long end. Notice, that Contiguous Futures quotes contain prices and convexity adjustments that can be converted into forward rates. The day counting conventions, maturity dates, and terms are also captured on this tab. We have recorded input data on the "BBG Data Table" tab. The data from this tab will be referenced on the main calculation tab, the "BBG Replica" tab.

On the "BBG Output" tab, one can see Bloomberg output - zero rates and discount factors. In our calculations, we will focus on the discount factors. Our calculated discount factors are compared to these Bloomberg output rates on the "BBG Replica" tab. Bloomberg tickers corresponding to the input and output rates are captured on the "BBT Input Tickers" and "BBG Output Tickers" tabs.

Finally, the discount factors are calculated on the "BBG Replica" tab. Rows corresponding to different instrument types are filled with different colors - red for cash, blue for EDF, and white for swap. Instrument specific discount factor formulas are captured at the bottom of this tab. The calculated discount factors are compared to the Bloomberg output in the last two columns. There is also a check on the swap value in rows 22-23, columns E-G. The value of the interest rate swap with fixed rate set to the spot swap rate should be 0.

curve-building's People

Contributors

vilen22 avatar

Watchers

James Cloos 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.