@huggy Wash sale only applies to capital losses, not gains.
Wash sale tax rule prevents you from deducting capital losses for the tax purposes if you rebuy the same/similar security within 30 days from selling it at a loss.
https://www.investopedia.com/terms/w/washsalerule.asp
It’s meant to...