Have you ever stopped to think about what Dollar Cost Averaging means and more importantly why it is a well-known and highly regarded strategy?
Today we learn how to use one of Python’s financial backtesting modules called Backtrader to evaluate the Dollar Cost Averaging Strategy for a Vanguard S&P500 ETF called VTS. We compare this strategy to the buy and hold strategy over different time horizons.
00:00 Intro
03:10 Importing the data
07:28 Buy & Hold - Lump-sum Strategy
17:15 Running Backtrader with Cerebro
19:15 Backtrader Commission Schemes
25:30 Buy & Buy More - Dollar Cost Averaging Strategy
38:30 Orders & Trade Details
45:10 Lump-sum vs Dollar Cost Averaging
46:55 Your Equity Curve - why Dollar Cost Averaging makes sense?
52:00 Risks of an ETF?
★ ★ Code Available on GitHub ★ ★
GitHub: github.com/TheQuantPy
Specific Tutorial Link: github.com/TheQuantPy/youtube-tutorials/blob/8e64e…
★ ★ QuantPy GitHub ★ ★
Collection of resources used on QuantPy YouTube channel. github.com/thequantpy
★ ★ Discord Community ★ ★
Join a small niche community of like-minded quants on discord. discord.com/invite/aY2Af4CxHP
★ ★ Support our Patreon Community ★ ★
Get access to Jupyter Notebooks that can run in the browser without downloading python.
www.patreon.com/quantpy
★ ★ ThetaData API ★ ★
ThetaData's API provides both realtime and historical options data for end-of-day, and intraday trades and quotes. Use coupon 'QPY1' to receive 20% off on your first month.
www.thetadata.net/
★ ★ Online Quant Tutorials ★ ★
WEBSITE: quantpy.com.au/
★ ★ Contact Us ★ ★
EMAIL: pythonforquants@gmail.com
Disclaimer: All ideas, opinions, recommendations and/or forecasts, expressed or implied in this content, are for informational and educational purposes only and should not be construed as financial product advice or an inducement or instruction to invest, trade, and/or speculate in the markets. Any action or refraining from action; investments, trades, and/or speculations made in light of the ideas, opinions, and/or forecasts, expressed or implied in this content, are committed at your own risk an consequence, financial or otherwise. As an affiliate of ThetaData, QuantPy Pty Ltd is compensated for any purchases made through the link provided in this description.
コメント