Giter VIP home page Giter VIP logo

options-oi's Introduction

NSE Options Open Interest Analysis using Python

The aim of this project is to able to fetch the Option chain data available from NSE API and use it to plot open interest data for analysis.

Why do this when there are so many alternatives ?

  1. Showcase my python skills learnt during sabbatical
  2. Opstra free account OI data is 15 mins delayed
  3. Didnot want to pay :) for this service
  4. Work with slowest internet connection
  5. Provides ability to use and make data as per my usage

Getting Started

Step 1: Clone

Clone the project/repository into desired folder

git clone https://github.com/ashok-kollipara/options-oi.git

Step 2. Get Python

Python 3.10.x (Tested)

https://www.python.org/downloads/

Setup help for windows ( environment variables and MAX PATH limitations)

https://docs.python.org/3/using/windows.html

Most Linux distributions have python installed by default

Step 3. Install required Python packages

pip install -r requirements.txt

Usage

Step A : Launch program

In case python is added to environment variables it can be directly used in command line at any folder level.

Navigate into the folder in which the repo is cloned

python main.py

Step A

Step B : Main Window

If everything is done perfectly so far there will be a window that appears as below

Step B

Step C : Choose Index

Choose the index by clicking and selecting from available dropdown

Step C

Step D : Load Index

Press Load Button Below as indicated in image

Step D

Step E : Auto Download Index Option Chain

In background program fetches the optiona data from API

Step E

Step F : Expiry Screen

Window will update to show the spot value of selected index in previous steps and present dropdown to select the expiry date to load

Step F

Step G : Choose Expiry Data

Choose the expiry date by clicking and selecting from available dropdown

Step G

Step H : Load Expiry Data

Press Load Button Below as indicated in image

Step H

Final Step : Open Interest data is plotted

Open Interest data for selected Index and Expiry date is presented with resized screen for study

OI_Plot

Whats Next ?

  1. Add functionality to change indexes and expiry dates without relaunching program
  2. Add time and date
  3. Ability to refresh by click / (Auto refresh every 5 mins)

options-oi's People

Contributors

ashok-kollipara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

options-oi's Issues

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.