If you were to claim a tax loss, you could not buy back the same security for 30 calendar days or else CRA would invalidate your claim.
This is what happens in a non registered account.
in the case of a registered account, you can not claim tax loss at any time and the usual 30 calendar day waiting period does not apply.
AK