Giter Site home page Giter Site logo

spx-gamma-exposure's Introduction

SPX Gamma Exposure

Calculates estimate of market maker gamma exposure derived from S&P 500 index options

Dependencies: pandas, numpy, holidays, datetime, requests, py_vollib, pyVolLib (my helper file in this directory), matplotlib

  • "TRTH_GEX" requires a pandas dataframe of output from Thomson Reuters's Tick History, listing end of day SPX option quotes. Pandas dataframe must contain "RIC", "Trade Date", "Open Interest", and "Implied Volatility" fields to calculate time series of estimated daily market maker gamma exposure

  • "CBOE_GEX" is the simplest to use. Go to http://www.cboe.com/delayedquote/quote-table-download and enter "SPX" in the ticker box. You will download a .dat file. Set the variable "filename" equal to the file path to that download on your local drive. The function then outputs estimated spot market maker SPX gamma exposure with an optional sensitivity table (example below)

SPX Gamma Exposure

  • "CBOE_Greeks" returns a plot of Black-Scholes option Greeks by option strike. Uses the same "filename" variable as above, to come from the CBOE website (example below)

CBOE Greeks

spx-gamma-exposure's People

Contributors

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