Calculates the returns of Vanguard ETFs bought on the ASX, including any additional shares accumulated through the distribution reinvestment plan
- Parses an input file that describes an individual's purchase history of Vanguard ETFs.
- Uses the ASX API to get current price information for the relevant ETFs, and scrapes the Vanguard website for the distribution information.
- Based on the timing of the ETF purchases and any distribution reinvestment plan events, calculates the value of the individual's current holdings.
See the /exampleInputs/ directory for the correct format for input text files.
Note: currently only supports VAS, VGS and VGE ETFs.
Input:
Output: