Frequent trading in RRSP is OK
However, frequent trading in TFSA may be an issue.
https://www6.royalbank.com/en/di/hubs/investing-academy/article/frequent-trading-in-your-registered-accounts/kp1bu4tc
Is a Tax-Free Savings Account (TFSA) always tax-free? The name alone would suggest that's the case, but there are instances when income earned in a TFSA and other registered accounts – including investment income and realized capital gains – may be subject to income tax.
It's important to remember that TFSAs are registered accounts intended for investing and growing your savings over time. They are not meant for frequent trading, running an investment business or day trading. If you trade extensively in your TFSA, the Canada Revenue Agency (CRA) may consider your account to be "carrying on a business." Any income (dividend and interest) and the full amount of realized gains (net of any realized losses) would be subject to tax