GithubHelp home page GithubHelp logo

unusual-whales-data-analysis's Introduction

This is a repository of code snippets that takes the raw options alerts data from https://unusualwhales.com/ and prepares and consolidates it for analysis.

Data manipulation is done using Danfo.js, which is an open-source, JavaScript library providing high-performance, intuitive, and easy-to-use data structures for manipulating and processing structured data. Danfo.js is heavily inspired by the Pandas library and provides a similar interface and API. This means users familiar with the Pandas API can easily use Danfo.js. https://danfo.jsdata.org/

  • 1SortCol is used for sorting the columns and removes any commas that interfere with conversion to csv.
  • 2AddCol adds several columns that I need for my analysis.
  • 3aConcat consolidates all the monthly files into one big file.
  • 3bSplitByType splits the consolidated file into a file for calls and a file for puts. It also adds several winner columns for the different win definitions. This step is optional.
  • 4aSig tests each variable to determine if the mean for winning alerts differs significantly from the mean of losing alerts.
  • 4bSig tests each variable to determine if the mean for winning alerts differs significantly from the overall mean of all alerts. I consider this test optional.
  • 5aWinProb splits alerts into deciles based on each variable and calculates win rates.
  • 5bSingleVarbyVal allows you to dive deeper into specific variable ranges. This is an optional tool outside of the main flow.
  • 6aMutliVarByIndex queries a specific variable range by index and splits alerts into groups based on each variable and calculates win rates.
  • 6bMutliVarByVal queries a specific variable range by variable value and splits alerts into groups based on each variable and calculates win rates.
  • 6cMutliVarByGreek queries a specific variable range by variable value and splits alerts into groups based on very specific greek values and calculates win rates.
  • 7aSector calculates win rates for each sector.
  • 8aEmoji calculates win rates for each emoji.

unusual-whales-data-analysis's People

Contributors

victorwlin avatar

Stargazers

Monk avatar  avatar  avatar  avatar  avatar Erhan Çınar Arslan avatar Justin avatar  avatar Eon avatar Jonah Gomez avatar  avatar Orkhan Akhundov avatar Emil Mirzayev avatar Seth Hobson avatar Dan Wagner avatar Aditya Nath avatar

Watchers

Dan Wagner avatar  avatar Brad Garrett avatar Orkhan Akhundov avatar  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.