45 lines
1.5 KiB
Markdown
45 lines
1.5 KiB
Markdown
# 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.
|
|
|
|
## Backtest Results
|
|
|
|
### TQQQ, 1 Minute, 2018-2024
|
|
|
|
Starting from 2018 with TQQQ which is what the authors of the paper did.
|
|
|
|
![TQQQ, 1 Minute, 2018-2024, Analysis](./backtest-results/tqqq_1m_2018_2024_analysis.png)
|
|
|
|
![TQQQ, 1 Minute, 2018-2024, Summary](./backtest-results/tqqq_1m_2018_2024_summary.png)
|
|
|
|
### TQQQ, 1 Minute, 2010-2024
|
|
|
|
Data for TQQQ begins in February 2010.
|
|
|
|
![TQQQ, 1 Minute, 2010-2024, Analysis](./backtest-results/tqqq_1m_2010_2024_analysis.png)
|
|
|
|
![TQQQ, 1 Minute, 2010-2024, Summary](./backtest-results/tqqq_1m_2010_2024_summary.png)
|
|
|
|
### QQQ, 1 Minute, 2007-2024
|
|
|
|
Data for QQQ begins in April 2007.
|
|
|
|
![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)
|
|
|
|
### SPY, 1 Minute, 2007-2024
|
|
|
|
Data for SPY begins in April 2007.
|
|
|
|
![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)
|
|
|
|
--- |