Path: blob/master/apps/candlestick-patterns/README.md
1073 views
candlestick-patterns
This app creates a dashboard using Dash to visualize and backtest candlestick patterns.
Supports Yahoo! Finance tickers
Supports TA-Lib candlestick patterns
Allows to choose entry and exit patterns, and override candle settings
Allows to specify signals manually
Performs backtesting on selected signals using vectorbt
Visualizes OHLCV, signals, orders, trades and portfolio value using Plotly
Displays key performance metrics such as Sharpe ratio
Compares main strategy to holding and trading randomly
Responsive design using Dash Bootstrap Components
How to run the app
Using Docker
Build the Docker image and run the container:
Visit http://127.0.0.1:8050/
Note: Compiling for the first time may take a while.
Using virtual environment
To get started, first clone this repo:
Create and activate a conda env:
Or a venv (make sure your Python is 3.6+):
Install the requirements:
In case of errors related to TA-Lib, see Troubleshooting.
Run the app:
Visit http://127.0.0.1:8050/
Screenshot
