Git Product home page Git Product logo

stock-pattern-detection's Introduction

Stock-pattern-detection

Detecting candlestick patterns in real time stocks

Focus

Focusing mainly on finding bullish engulfing and bearish engulfing patters.

What is bullish engulfing?

A bullish engulfing pattern is a white or green candlestick that closes higher than the previous day's opening after opening lower than the previous day's close.

What is bearish engulfing?

A bearish engulfing pattern is a technical chart pattern that signals lower prices to come. The pattern consists of an up (white or green) candlestick followed by a large down (black or red) candlestick that eclipses or "engulfs" the smaller up candle.

Libraries

  • yfinance - An easy-to-use Python library for accessing the informations of Stocks.
  • pandas - the most powerful and flexible open source data analysis / manipulation tool.
  • matplotlib - is a comprehensive library for creating static, animated, and interactive visualizations in Python.

Description of each file

  1. tesla.py - Extracting all historical stock information of tesla and saving the output to a csv file.
  2. tesla.csv- Output file of tesla.py
  3. tesla_price_visualisation.py - Visualising the output csv file.
  4. tesla_pattern.py - Finding bullish engulfing patterns in tesla.csv file.
  5. sp500_companies.csv - A csv file of S&P 500 companies list and their ticker name.
  6. download_sp500_history.py - Downloading all historical data of S&P 500 companies and saving them to different csv files.
  7. history - Contains all output csv files of S&P 500 companies.
  8. sp500_pattern.py - Finding bullish engulfing and bearish engulfing patterns in all the S&P 500 companies csv files.

stock-pattern-detection's People

Contributors

arunavd 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.