Skip to content

omkolte17/candlestick-pattern-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Candlestick Pattern Analyzer

The program aims to efficiently analyze the dataset to determine which stocks are consolidating or breaking out and which stock has the specified pattern occurred in it. The program is built in Python and uses various other libraries and methods.

Table of contents

  1. Functions
  2. Tech Stack
  3. Additional Information
  4. Usage
  5. Interface

Functions

  1. Analyze the dataset to determine which stocks are consolidating and breaking out.
  2. Web based technical scanner to display the stocks which have formed a certain pattern.
  3. Display stocks with their charts in which the selected pattern has been found.
  4. The end candle of the pattern will be indicated with a small red arrow.

Tech Stack

  1. Python 3
    • Flask Framework
    • Technical Analysis Library
    • Yahoo Finance Library
  2. HTML 5
  3. CSS3
    • Bootstrap 4
  4. JavaScript

Additional Information

What is Flask ?

Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions.
Documentation: https://flask.palletsprojects.com/en/1.1.x/

What is Technical Analysis Library ?

TA-Lib is an open-source python library that is used in analyzing the stock market's historical data like share price, volume, etc. in order to predict the future price or the market direction so that we can make our investments accordingly.
Documentation: https://ta-lib.org/hdr_lnk.html
Download and Install the TA-Lib wrapper from here.

Usage

  • Clone the repository and install the requirements.
  • Then execute the 'flask run' command on terminal in the project directory.
  • The project will be accessible on localhost.
  • Access the project on http://127.0.0.1:5000/ instead of http://localhost:5000/ after starting the flask server.

Navigate to the Scanner Page

  1. Update the Dataset
    • Click on Fetch Button.
    • Note: This will update the dataset.

  2. To Check stocks with certain patterns:
    • Select the pattern from the drop down list.
    • Click on the Scan button after selecting the pattern.
    • The results will be displayed according to the pattern selected.

  3. To Get the Stocks according to their State:
    • After updating the dataset, click on the State button.
    • The result will be displayed in a web modal.
Note: The pattern will be indicated by a small red arrow which will appear above the candle where the pattern has completed.

Interface

Home Page

Scanner Page

Patterns Page

About Page

About

Python based web-app for candlestick pattern recognition and stock state detection.

Resources

License

Stars

Watchers

Forks