Git Product home page Git Product logo

tos-spx-option-volume's Introduction

tos-option-volume

Thinkscript indictor that graphs the volume of SPX options on a SPY or /ES graph. I've found this usefull to track intraday SPY movements. Large SPX options volume seems to be much more correlated with SPY then SPY option volume.

  • This is forked from an original repo from JeanTann3n.

Options Volume

Another example (excuse the terrible use of Paint)

SPX Volume

Notes

  • This will not work on SPX as there is no volume on SPX in TOS so the volume() functions will not work.
  • The options will turn red/blue if the volume is > 1000.
  • The "hours to graph" input is assuming 1 min aggregation
  • There is a lot of data being processed, I would recommend using a longer aggregation period or a shorter time interval if you're seeing performance issues. This will still work on 1 min interval I prefer 2min.
  • I would suggest upping your RAM to as high as possible.
  • Currently strikes are pulled in dollar increments.
  • It might take a while to load everything, be patient.
  • This is ONLY for SPX Options
  • Strike ranges and expirations need to be set manually but they can be pretty large. On the plus side this allows for effective filtering to a specific delta range if you look up what the strike range is for the equivalent delta range.
  • The volume data is not raw order data, so specific sale prices, order sizes, etc. cannot be inferred.

How to Install

Clone the repo or download the files. Click studies --> import then browse to the .ts files.

Feel free to ping me @harrib or @jeantann3n with questions or add issues/bugs in github!

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.