Add new row for each investment you want to add.

Once you sell your investment you can remove that from investments and add that in past investments.