How many days do I have to hold a stock before it is considered a capital gain by the CRA?
You don't have to wait.  If you sell your shares now, your gain can be considered a capital gain for income tax purposes. Unlike in the United States, Canada does not distinguish between short-term vs. long-term gains where you'd pay different rates on each type of gain.  Whether you buy and sell a stock within minutes or buy and sell over years, any gain you make on a stock can generally be considered a capital gain. I said generally because there is an exception:  If you are deemed by CRA to be trading professionally -- that is, if you make a living buying and selling stocks frequently -- then you could be considered doing day trading as a business and have your gains instead taxed as regular income (but you'd also be able to claim additional deductions.)  Anyway, as long as your primary source of income isn't from trading, this isn't likely to be a problem. Here are some good articles on these subjects:
If so, are there ways to reduce the amount of taxes owed? Given that it's currently December, I suppose I could sell half of what I want now, and the other half in January and it would split the tax burden over 2 years instead, but beyond that, are there any strategies for tax reduction in this scenario? One possibility is to also sell stocks that have gone down since you bought them.  Of course, you would only do this if you have changed your mind about the stock's prospects since you bought it -- that is, it has gone down and you no longer think it will go up enough to be worth holding it.  When you sell stocks, any losses you take can offset any gains, so if you sell one stock for a gain of $10,000 and another for a loss of $5,000, you will only be taxed on your net gain of $5,000. Even if you think your down stock could go back up, you could sell it to realize the loss, and then buy it back later at the lower price (as long as you're not worried it will go up in the meantime).  However, you need to wait at least 30 days before rebuying the stock to avoid wash sale rules.  This practice is known as tax loss harvesting. "There is no hard and fast rule. If there was, people could cleverly arrange to make money just often enough to stay on the ""ok"" side. It's a judgement call by the CRA and it probably starts with an audit, and depends on the reasons for the loss. Simple example: your business is selling your time at X an hour and you have expenses that you will cover if you sell Y hours a year, where Y is a lot less than the 2000 hours we have to sell each year. Maybe 300. And you had a big contract but it fell through and though you tried and tried you couldn't get another contract. This will probably be considered a reasonable loss. Another example: your business is selling art or antiques, most of which are kept in your house where you can look at them every day and enjoy them. Your expenses include lots of flights to places where these art or antiques come from, or perhaps are inspired by, along with hotel and restaurant costs, and you would need to sell your entire inventory every year just to cover these expenses, yet you only sell one or two pieces a year (or none) and there's no indication that you're particularly trying to sell more than that. This will probably be considered an unreasonable loss, and if the situation persists for many years in a row, the expenses may end up being disallowed. Side businesses often lose money at first. In fact, once they stop losing money they stop being side businesses. If you have spin up costs like buying hardware, developing software, or acquiring inventory, and you can show how long those extra costs can be expected to last, your expenses are less likely to be disallowed. That's the issue, not how many years in a row the loss occurred. This archived CRA document http://www.cra-arc.gc.ca/E/pub/tp/it364/it364-e.html gives examples of startup expenses that were allowed in years that didn't have revenue, never mind profit." The top long-term capital gains tax rate will rise to 20% effective 1 Jan, 2011, unless Congress decides to do something about it before then. (Will they? Who knows!! There's been talk about it, but, well, it's Congress. They don't even know what they're going to do.)  Anyway. The rules about when you can sell stock are mostly concerned with when you can realize a capital loss: if you sell a stock at a loss and then re-buy it for tax purposes within 30 days, it's a wash sale and not eligible for a deduction. However, I don't believe this applies to any stocks once you realize a gain - once you've realized the gain and paid your tax for it, it's all yours, locked in at whatever rate. Your replacement stock will be subject to short-term capital gains for the next year afterwards, and you might need to be careful with identifying the holding period on different lots of your stock, but I don't believe there will be any particular trouble. Please do not rely entirely on my advice and consult also with your tax preparer or lawyer. :) And the IRS documentation: Special Addendum for Nov/Dec 2012! Spoiler alert! Congress did indeed act:   they extended the rates, but only temporarily, so now we're looking at   tax hikes starting in 2013 instead, only the new top rate++ will be something   like 23.8% on account of an extra 3.8% medicare tax on passive earnings (brought to you via Obamacare   legislation). But the year and the rates' specifics aside, same thing   still applies. And the Republican house and Democratic senate/President are still duking it out. Have fun. ++ 3.8% surtax applies to the lesser of (a) net investment income (b) income over $200,000 ($250k if married). 20% tax rate applies to people in the 15% income tax bracket for ordinary income or higher. Additional tax discounts for property held over 5 years may be available. Consult tax law and your favorite tax professional and prepare to be confused. I like C. Ross and MrChrister's advice to not be heavily weighted in one stock over the long run, especially the stock of your employer.  I'll add this: One thing you really ought to find out – and this is where your tax advisor is likely able to help – is whether your company's stock options plan use qualified incentive stock options (ISO) or non-qualified stock options (NQO or NSO).  See Wikipedia - Incentive stock option for details. From my understanding, only if your plan is a qualified (or statutory) ISO and you hold the shares for at least 1 year of the date of exercise and 2 years from the date of the option grant could your gain be considered a long-term capital gain. As opposed to: if your options are non-qualified, then your gain may be considered ordinary income no matter how long you wait – in which case there's no tax benefit to waiting to cash out. In terms of hedging the risk if you do choose to hold long, here are some ideas: Sell just enough stock at exercise (i.e. taking some tax hit up front) to at least recover your principal, so your original money is no longer at risk, or If your company has publicly listed options – which is unlikely, if they are very small – then you could purchase put options to insure against losses in your stock.  Try a symbol lookup at the CBOE. Note: Hedging with put options is an advanced strategy and I suggest you learn more and seek advice from a pro if you want to consider this route.  You'll also need to find out if there are restrictions on trading your employer's public stock or options – many companies have restrictions or black-out periods on employee trading, especially for people who have inside knowledge. Now assume these shares are vested, held for at least 1 year, and are   then sold for $5 each. Everything I've read implies that the grantee   now owes long-term capital gains taxes on the difference, which would   be 10k * ($5 - $1). No. That's exactly what the SO is NQ for. Read more on the differences between ISO and NQSO here. Now assume these shares are vested, held for at least 1 year, and are   then sold for $5 each. Everything I've read implies that the grantee   now owes long-term capital gains taxes on the difference, which would   be 10k * ($5 - $1). At this point you no longer have NQSO, you have RSU. If you filed 83(b) when  you exercised, then you pay capital gains tax when they vest. If you didn't - its ordinary income to you. NQSO is a red herring here since once exercised they no longer exist. If you didn't file 83(b), then when the stock vests the difference between the FMV at vest and the money you spent on it when exercising (if any) is considered wages and taxed as ordinary income (+FICA etc). From that point the RSU becomes a regular stock investment and the capital gains clock starts ticking. My take on this is that this reduces your liquidity risk. Stocks, bonds and many other investment vehicles on secondary markets you may think of are highly liquid but they still require that markets are open and then an additional 3-5 business days to settle the transaction and for funds to make their way to your bank account.  If you require funds immediately because of an emergency, this 3-5 business days (which gets longer as week-ends and holidays are in the way) can cause a lot of discomfort which may be worth a small loss in potential ROI.  Think of your car breaking down or a water pipe exploding in your home and having to wait for the stock sale to process before you can make the payment. Admittedly, you have other options such as margin loans and credit cards that can help absorb the shock in such cases but they may not be sufficient or cause you to pay interest or fees if left unpaid. "Generally if you are using FIFO (first in, first out) accounting, you will need to match the transactions based on the number of shares. In your example, at the beginning of day 6, you had two lots of shares, 100 @ 50 and 10 @ 52.  On that day you sold 50 shares, and using FIFO, you sold 50 shares of the first lot.  This leaves you with 50 @ 50 and 10 @ 52, and a taxable capital gain on the 50 shares you sold. Note that commissions incurred buying the shares increase your basis, and commissions incurred selling the shares decrease your proceeds.  So if you spent $10 per trade, your basis on the 100 @ 50 lot was $5010, and the proceeds on your 50 @ 60 sale were $2990.  In this example you sold half of the lot, so your basis for the sale was half of $5010 or $2505, so your capital gain is $2990 - 2505 = $485. The sales you describe are also ""wash sales"", in that you sold stock and bought back an equivalent stock within 30 days.  Generally this is only relevant if one of the sales was at a loss but you will need to account for this in your code.  You can look up the definition of wash sale, it starts to get complex. If you are writing code to handle this in any generic situation you will also have to handle stock splits, spin-offs, mergers, etc. which change the number of shares you own and their cost basis.  I have implemented this myself and I have written about 25-30 custom routines, one for each kind of transaction that I've encountered.  The structure of these deals is limited only by the imagination of investment bankers so I think it is impossible to write a single generic algorithm that handles them all, instead I have a framework that I update each quarter as new transactions occur." Capital losses from the sale of stocks can be used to offset capital gains from the sale of a house, assuming that house was a rental property the whole time.  If it was your principal residence, the capital gains are not taxed.  If you used it as both a rental and a principal residence, then it gets more complicated: http://www.cra-arc.gc.ca/tx/ndvdls/tpcs/ncm-tx/rtrn/cmpltng/rprtng-ncm/lns101-170/127/rsdnc/menu-eng.html