Hi all how do you record the following:

10,000 shares bought at $1 say 1 Jan 2019
10,000 shares sold at $2 say 1 Jan 2020
10,000 shares bought for 60c say 1 Mar 2020

I see some software record only the last purchase so 60c. Other software record all transactions and give you an average price of -40c as a simple example. I prefer the second option and that is how my spreadsheet is set up. What do other do?