Detecting candlestick patterns in real time stocks
Focusing mainly on finding bullish engulfing and bearish engulfing patters.
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.
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.
- 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.
- tesla.py - Extracting all historical stock information of tesla and saving the output to a csv file.
- tesla.csv- Output file of tesla.py
- tesla_price_visualisation.py - Visualising the output csv file.
- tesla_pattern.py - Finding bullish engulfing patterns in tesla.csv file.
- sp500_companies.csv - A csv file of S&P 500 companies list and their ticker name.
- download_sp500_history.py - Downloading all historical data of S&P 500 companies and saving them to different csv files.
- history - Contains all output csv files of S&P 500 companies.
- sp500_pattern.py - Finding bullish engulfing and bearish engulfing patterns in all the S&P 500 companies csv files.