/trool

A small tool written in python to collect and analyse option chain data

Primary LanguageJupyter Notebook

trool

A short tool to help with trading. Collects option chain data using Selenium and firefox webdriver.

Tested on Ubuntu EC2.

Setup:

  1. git clone git@github.com:pratporetw/trool.git
  2. Download conda installer:
  3. Create new conda environment called trool:
    • conda create --name trool python=3.7
  4. Activate conda and install requirements:
    • conda activate trool
    • pip install -r requirements
  5. Download the Firefox geckodriver:
  6. Install firefox if already not installed:
    • sudo apt-get update
    • sudo apt-get install firefox
  7. Update timezone if deployed on EC2. By default it's UTC.
    • sudo timedatectl set-timezone Asia/Kolkata

Features:

  1. Collects and stores option chain data for Nifty and Banknifty index on daily basis.
  2. Computes PCR ratio and Max Pain at each pull to keep track of movement.
  3. Plots major data points like Implied Volatility, OI, Change in OI etc using Jupyter.
  4. Jupyter notebook to fetch most volatile Nifty 100 stocks. Can be used for Intraday picks.

Learnings and Notes: https://tinyurl.com/y55zph3w