Thanks for the response. The way to figure out average share price is simply to add up the amount paid for all purchases and divide it by the total number of shares held. When you sell, you therefore do not have to specify which shares are sold, but they are just removed at the same average basis. For example:
If you buy 50 shares at t=0 at 10 dollars per share and 100 shares at t=10 at 15 dollars a share, your average cost basis would be (50*$10+100*$15)/150 = $2000/150 = $13.33 per share.
I actually found some evidence that the US may consider the average basis method in the instructions of Form 8949, it still begs the question whether I can then categorise these sales as long term for capital gains purposes, because you start mixing purchase dates. I think I will do what you suggested and just select specific shares to be sold.
Average basis. You can use the average basis method to determine the basis of shares of stock if the shares are identical to each other, you acquired them at different prices and left them in an account with a custodian or agent, and either:
• They are shares in a mutual fund (or other regulated investment company);
• They are shares you hold in connection with a dividend reinvestment plan (DRP), and all the shares you hold in connection with the DRP are treated as covered securities (defined below); or
• You acquired them after 2011 in connection with a DRP.
Shares are identical if they have the same CUSIP number, except that shares of stock in a DRP aren't identical to shares of stock that aren't in a DRP, even if they have the same CUSIP number. (CUSIP numbers are security identification numbers.)
If you are using the average basis method and received a Form 1099-B (or substitute statement) that shows an incorrect basis, enter “B” in column (f),
enter the basis shown on Form 1099-B (or substitute statement) in column (e), and see How To Complete Form 8949, Columns (f) and (g), later. For details on making the election and figuring average basis, see section 1012, Pub. 550, and Regulations section 1.1012-1(e).