meredithwan / DCA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does Dollar Cost Averaging Work?

This repository contains the codes used to generate the analyses made in my Medium article.

dividends.csv contains the STI dividends data obtained from https://www.dividends.sg/view/ES3

DCA STI.R contains the codes to backtest the returns to dollar cost averaging into the STI with and without the reinvestment of dividends

DCA US ETF.R contains the codes for a simplified backtesting (where it is assumed that there are no dividends received) of the returns to dollar cost averaging into the S&P500

About


Languages

Language:R 100.0%