Your brokerage doesn't decide tax law. Settling only determines when you have access to your money. Everyone just always assumes this, but nobody can supply a link proving it. The difference with shorting is, the transaction doesn't complete with someone hitting the button. But when you hit Sell and the shares leave your account, you have sold.