Giter VIP home page Giter VIP logo

optionchain's Introduction

NSE Option Chain analyzer

This is the Option Chain analyzer for NIFTY and BANKNIFTY from NSE

Author: Chandre Gowda

Email: [email protected]

Prerequisite

Install NODE JS and NPM from (version 16 and above): https://nodejs.org/en/download/

Install Mongo DB Community Edition

Install Python 3.9 or higher

How does it Work

This application is using NSE API (free for localhost based apps) and saves response in the File under DATA folder and also stores stats in DB (for Put / Call changes graph - TODO)

Configuration of the symbols to fetch data is saved in symbols.json, set {"scan": "yes"} in each symbol node to fetch data from NSE

Setup:

Open Command prompt in Windows or Terminal in Mac

Next Step: Change directory to the folder where this README.md file is present or where server.js file is present using "cd "

Next Step: Install the Express and Axios NPM packages by entering below command

npm install

Install python modules:

pip install pandas pip install pymongo pip install scipy pip install mibian

Run dbSetup.mongodb to create Database 'marketdata' and tables with indexes

Next Step : Start the application, be in the root directory of this project

Run optionScanner.py to fetch data in periodic interval from NSE site py optionScanner.py

Start Node Web server to load UI (http://localhost:3000) npm start

NOTE: To start in development mode (nodemon) use below command npm run dev

Next Step: Launch browser and access application with URL : CAR TRADING


Change the default Port

By default Node server will be running at port 3000, to start NODE server in different port set the environment variable PORT to different port number

Example : In Windows start node server execute below command

set PORT=8080 && npm start

In Mac

PORT=8080 && npm start

Github Link

Important NOTE: If you run this application in Production server, NSE will not respond

optionchain's People

Contributors

chandregowda avatar rukmajchandavar avatar

Stargazers

Mohit Ramani avatar  avatar Nitin Mali avatar

Forkers

knkrth

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.