@charleslee08,
I don't know about Canada, but in the United States it depends. There are so many variables and questions that have to be asked of the investor. This is a question imo that cannot be easily answered on the internet.
You should consult a tax specialist.