Skip to content

tripd22/returnsCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

returnsCalculator

Calculates the returns of Vanguard ETFs bought on the ASX, including any additional shares accumulated through the distribution reinvestment plan

  1. Parses an input file that describes an individual's purchase history of Vanguard ETFs.
  2. Uses the ASX API to get current price information for the relevant ETFs, and scrapes the Vanguard website for the distribution information.
  3. 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:

About

Calculates the return of Vanguard ETFs on the ASX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages