2024-06-29 12:10:52 +00:00
# VWAP Trend Bot
## Overview
This is an implementation of the strategy presented in the paper [Volume Weighted Average Price (VWAP) The Holy Grail for Day Trading Systems (2023) ](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4631351 ).
The strategy is very basic, initiating long positions when price closes above VWAP and short positions when price closes below VWAP.
Trades are held either until price closes in the opposite direction with respect to VWAP or the end of the trading day.
2024-06-29 12:28:04 +00:00
## Backtest Results
2024-09-02 13:11:03 +00:00
### ETFs
#### TQQQ, 1 Minute, 2018-2024
2024-06-29 12:28:04 +00:00
Starting from 2018 with TQQQ which is what the authors of the paper did.
2024-06-29 12:34:44 +00:00
![TQQQ, 1 Minute, 2018-2024, Analysis ](./backtest-results/tqqq_1m_2018_2024_analysis.png )
2024-06-29 12:28:04 +00:00
2024-06-29 12:34:44 +00:00
![TQQQ, 1 Minute, 2018-2024, Summary ](./backtest-results/tqqq_1m_2018_2024_summary.png )
2024-06-29 12:28:04 +00:00
2024-09-02 13:11:03 +00:00
#### TQQQ, 1 Minute, 2010-2024
2024-06-29 12:28:04 +00:00
2024-09-02 13:11:03 +00:00
1-minute data for TQQQ from my data provider begins in February 2010.
2024-06-29 12:28:04 +00:00
2024-06-29 12:34:44 +00:00
![TQQQ, 1 Minute, 2010-2024, Analysis ](./backtest-results/tqqq_1m_2010_2024_analysis.png )
2024-06-29 12:28:04 +00:00
2024-06-29 12:34:44 +00:00
![TQQQ, 1 Minute, 2010-2024, Summary ](./backtest-results/tqqq_1m_2010_2024_summary.png )
2024-06-29 12:28:04 +00:00
2024-09-02 13:11:03 +00:00
Unfortunately the results for TQQQ don't look as good as the paper suggests, at least not anymore.
#### QQQ, 1 Minute, 2007-2024
2024-06-29 12:31:55 +00:00
2024-09-02 13:11:03 +00:00
1-minute data for QQQ from my data provider begins in April 2007.
2024-06-29 12:31:55 +00:00
![QQQ, 1 Minute, 2007-2024, Analysis ](./backtest-results/qqq_1m_2007_2024_analysis.png )
![QQQ, 1 Minute, 2007-2024, Summary ](./backtest-results/qqq_1m_2007_2024_summary.png )
2024-09-02 13:11:03 +00:00
#### SPY, 1 Minute, 2007-2024
2024-06-29 12:34:09 +00:00
2024-09-02 13:11:03 +00:00
1-minute data for SPY from my data provider begins in April 2007.
2024-06-29 12:34:09 +00:00
![SPY, 1 Minute, 2007-2024, Analysis ](./backtest-results/spy_1m_2007_2024_analysis.png )
![SPY, 1 Minute, 2007-2024, Summary ](./backtest-results/spy_1m_2007_2024_summary.png )
2024-06-29 12:10:52 +00:00
---