Read the article
You can make an election to treat all trading in Canadian securities as capital. But this election can not be reversed for life.
If you didn't make the election,
you can still report stock trading gain as capital and CRA may re-assess you as income.
https://www.hrblock.ca/blog/report-online-trading-income/