Are stock brokers allowed to just generate shares in their computer systems and then find a way later to actually obtain them? And when they do so, that might actually be from another broker who magicked them into existence?
Naked shorting is illegal. To short the shares the seller only has to perform a “locate” first. That involves contacting someone that has the shares and is willing to lend them. Skipping the locate step is illegal. They just don’t have to actually borrow them until delivery.
Additionally, if the locate fails to materialize then it’s the sellers responsibility to borrow them from someone else before delivery. If not, that leads to a fail to deliver which locks up further transactions for the seller until it’s resolved.
Unless you're a market maker and thus exempt from the regulation, because your market making function requires buying and selling lots and lots of unsettled shares in order to provide liquidity.
https://www.sec.gov/investor/pubs/regsho.htm#_ftn4
You can also look through FINRA's regulations here:
https://www.finra.org/rules-guidance/rulebooks
The wikipedia article on Regulation SHO is also fairly relevant:
https://en.wikipedia.org/wiki/Naked_short_selling#Regulation...
It's pretty long and tedious and not really targeted to your question though. I'll try to remember to post a better resource here when I find one.
There could be some archaic processes that are not electronic but are there inherent good reasons why they cannot be converted?
(This is also why GME trading was halted by some brokers--assymetrical trades and increased volatility meant there was greater risk for trades in those stocks for those brokers, so the clearinghouse demanded more collateral from the broker. Broker doesn't have that collateral right away, they can't make the trade.)
The system has become so intertwined that when someone breaks a promise, it’s too disruptive to actually hold them to account so we just paper over it to keep the wheels of commerce rolling.
And interestingly enough, if this transaction occurs in good faith and for unforeseen reasons there is no borrow liquidity at the agreed upon time, a fail to deliver will occur despite the short sale not being naked.