It is a very ridiculous policy to only report sales to IRS, when they often have all the information available to send net gains. How much easier would it be for them to simply calculate FIFO, sale_price*(nshares_sold) -purchase_price*(nshares_purchased), along with any of the peripheral calcs...