Coder Social home page Coder Social logo

nse-analyser's Introduction

A backend project to analyse data from the National Stock Exchange, to provide fundamental TA and recommendations on trade, with possibility to prepare and train models to predict stock trend.

Based on nsedt module by pratik141

Current Functionalities

Following table highlights the available endpoints, their details and examples.

Base URL for the service is as follows :-

https://nse-analyser.onrender.com/

Endpoint details are as follows

Endpoint Request Type Parameters Description Example
/health GET N/A Tells if the service is running https://nse-analyser.onrender.com/health
/getStockData?start_date=yyyy-mm-dd&end_date=yyyy-mm-dd&symbol=xxx GET start_date, end_date, symbol Fetch Historic OHLCV data for a stock from NSE, based on start and end date and stock code https://nse-analyser.onrender.com/getStockData?start_date=2023-06-02&end_date=2024-01-01&symbol=ITC
/getStockTaData?start_date=yyyy-mm-dd&end_date=yyyy-mm-dd&symbol=xxx GET start_date, end_date, symbol Fetch calculated TA data for a stock from NSE, based on start and end date and stock code https://nse-analyser.onrender.com/getStocTaData?start_date=2023-06-02&end_date=2024-01-01&symbol=ITC
/taConfigParams GET N/A Fetch the config values that will be used to calculate TA data https://nse-analyser.onrender.com/taConfigParams
/taConfigParams POST JSON fetched from the above request with updated values as payload Update the config values that will be used to calculate TA data https://nse-analyser.onrender.com/taConfigParams
/generateTaResult?symbolList=s1,s2 GET A comma seperated list of Stocks for analysis sent as query parameter View the ta results for the stocks, along with interesting datapoints highlighted https://nse-analyser.onrender.com/generateTaResult?symbolList=ITC,HCLTECH

Features

  • Automatically persist historic data in CSV format, available for personal use out of the service too.
  • Provides TA data for following :
    • Close
    • Close EMA
    • Volume
    • Volume EMA
    • % deviation b/n actual volume and average
    • MACD
    • MACD Signal
    • RSI
    • Best fit regression channel data
  • Automatically analyse TA data and provide a comprehensive view of trend reversals and interesting events in a trade history

Instructions to run in local

Install python on your system and run following commands in root directory

pip install -r requirements.txt
python app.py

nse-analyser's People

Contributors

soham874 avatar

Watchers

 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.