I just sold a stock for a gain (as Im trying to sell it its gains during a few years to keep in a lower tax bracket).
I want to still be in the stock but make sure this gain is counted for this year. My brokerage account shows that the cash is immediately there. Can I buy right back and have this count for 2020? Or do I need to wait 2 business days for this "settlement" I keep hearing about?