Coder Social home page Coder Social logo

ffr_a's Introduction

Intro

Idea

In my Money and Banking class at the University of Minnesota, Terry Fitzgerald has shown us the FedWatch tool by CME. This tool shows the probability distribution of the implied FedFundsRate hikes before FOMC meetings. I wanted to replicate this, because it seemed interesting, looked at the methodology and found out that CME is not upfront about how exactly they are getting the data.

Implementation

Later on, I decided that it would be pretty convenient and cool to see how the implied trajectory of the fed funds rate changes over time. To do this I downloaded the futures historical prices from yahoo finiance using yfinance, conducted some algebraic operations on the data and plotted the trajectories using ploty.

Some Examples

graphs.impl_exp("2022-06-05", "2022-06-30", 7)

The command plots the implied trajectories of the fed funds from the June 5th to June 30th with a period of 7 days EX1<

graphs.impl_exp("2022-10-18", "2022-12-15", 10)

The command plots the implied trajectories of the fed funds from the Oct 18 5th to Dec 15th with a period of 10 days ex2<

Both of the graphs are centered around the FOMC meeting, EX1 is centered around the June 15th meeting, where the FedFundsRate was hiked by 75 basis points, we can see how the markets changed the future expected rate. It's also important to mention that from the plots it is evident that the June 15th announcement changed the consensus maximum expected rate and moved the MAX(ffr) along the timeline.

Summary

I'd be happy if someone used this tool! Seems pretty simple but useful, especially for estimating the effect of FED announcements.

ffr_a's People

Contributors

orlovt 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.