This project scans all the symbols in the Nasdaq 100 and S&P 500 for candlestick patterns. Symbols showing candlestick patterns are viewable as a TradingView chart in a webapp.
This project was created in Python and runs as a web application via the Python web-framework Streamlit.
- Download list of symbols in the Nasdaq 100 and S&P 500 from WikiPedia.
- For each symbol, download 10 days of data (open, high, low, close) using Python package yfinance
- For each symbol, download earnings data using Python package yahooquery.
- For each of the 60+ candlestick patterns, scan all the symbols looking for pattern matches.
- Create list of patterns and the relevant symbols.
With a list of candlestick patterns and symbols matching those patterns:
- Create drop-down lists in Streamlit with name of candlestick pattern and the symbol.
- Upon selection of a pattern/symbol from the drop-down, load a TradingView chart.
- Create plot of earnings data using Ploty Express.
TA-Lib is a Python wrapper based on Cython and includes the following:
- 150+ indicators such as ADX, MACD, RSI, Stochastic, Bollinger Bands, etc.
- 60+ candlestick pattern recognition
- Open-source API for C/C++, Java, Perl, Python and 100% Managed .NET
pip install -r requirements
$ streamlit main.py
- Store all data in Snowflake or a similiar cloud-based solution.
- Add additional support for Streamlit caching.
- Add asynchronous downloading of data.
If you're a trader/investor, I've written many techical indicators, both open/closed source that might be of interest: TradingView Indicators.
This project is licensed under the MIT License. See the LICENSE file for more details.