Taxation on a Roth with various deposit dates and investments
How is the tax calculated on 'profit' from investments if there are many deposit dates and many different investments over a few years. When purchasing stocks, how is the allocation of the deposits used to buy these stocks. E.g.. $5,000 deposited in 2008, $5000 deposited in 2009, $5000 deposited in 2010. When I buy stocks in 2011, which pool of cash is used for the transaction? This is important because surely the 'profits are tied 'date wise' to the date of the cash deposit. Any help would be appreciated, am I missing something here?