Investment Amount per Period: Amount invested at each interval.
Number of Investment Periods: Number of times the user invests.
Asset Prices per Period: A list of asset prices over each investment period, allowing users to visualize changes in asset price over time.
The calculator calculates:
Total Amount Invested: Sum of all invested amounts over the periods.
Total Shares Purchased: The total number of shares acquired, calculated by dividing each investment by the asset price at that time.
Average Purchase Price per Share: The effective average price paid per share over all periods.
Final Value of Investment: The current value of shares based on the asset's final price in the user-input list.
If a user inputs:
Investment Amount per Period: $100
Number of Investment Periods: 4
Asset Prices per Period: 10, 12, 11, 13
The calculator would output:
Total Amount Invested: $400
Total Shares Purchased: Calculated by summing shares bought at each price.
Average Purchase Price: Total amount invested divided by total shares.
Final Value of Investment: Total shares multiplied by the last asset price (in this example, $13).