Chillman, your standard online providers don't typically provide that functionality. You need to track the sale/purchase prices manually in a spreadsheet or there are software programs around that will allow you to specify which purchase(s) you have chosen to sell.