Same in Canada.
From Canada Revenue Agency
A superficial loss can occur when you dispose of capital property for a loss and:
- you, or a person affiliated with you, buys, or has a right to buy, the same or identical property (called "substituted property") during the period starting 30 calendar days before the sale and ending 30 calendar days after the sale; and
- you, or a person affiliated with you, still owns, or has a right to buy, the substituted property 30 calendar days after the sale.
If you have a superficial loss in 2009, you cannot deduct it when you calculate your income for the year.
However, if you are the person who acquires the substituted property, you can usually add the amount of the superficial loss to the adjusted cost base of the substituted property. This will either decrease your capital gain or increase your capital loss when you sell the substituted property.
In certain situations, when you dispose of capital property, the loss may not be considered a superficial loss.