The Canadian Income Tax Act has "stop loss" rules that limit a taxpayer’s ability to claim losses in certain specific situations.
"This article provides information of a general nature only. It is only current at the posting date. It is not updated and it may no longer be current. It does not provide legal advice nor can it or should it be relied upon. All tax situations are specific to their facts and will differ from the situations in the articles. If you have specific legal questions you should consult a lawyer."