Based on your financial expertise, provide your response or viewpoint on the given financial question or topic. The response format is open.

Taxes on selling stock
You realise a capital gain as soon as you sell the stock. At that point, you will have to pay taxes on the profits when you fill in your tax return. The fact that you used the money to subsequently purchase other stocks is not relevant, unless you sell those stocks within the same tax year. For example, purchase $5000 of stock A in 2010. Sell for $6000 in 2010. Purchase $6000 of stock B in 2010. Sell stock B for $6500 in 2010. Purchase $6500 of stock C in 2010. Sell stock C for $7000 in 2011. You owe capital gains on ($6000 - $5000) + ($6500 - $6000) = $1500 for tax year 2010. You owe capital gains on ($7000 - $6500) = $500 for 2011.