Offer your insights or judgment on the input financial query or topic using your financial expertise. Reply as normal question answering

What happens to my stocks when broker goes bankrupt?
Here is my perception of the situation, obtained from reading Degiro's Client Agreement. If Degiro shuts down, it will notify you about the fact at least one month in advance, and you will have enough time to order a transfer of your positions to a different broker. If Degiro shuts down unexpectedly, your assets will remain to be held at SPV, a separate legal entity which Degiro uses to hold the financial instruments belonging to the clients. Since SPV does nothing else but holding the assets, it is very unlikely that something bad will happen with it on its own. With some help from Degiro and/or the regulator (AFM) you should be able to transfer your assets from SPV to a different custodian and broker and thus regain control over them. If you have a non-Custody account, you have slightly higher chances of losing your assets, because Degiro can borrow your securities held at SPV. If both the client for whom Degiro borrowed a security and Degiro itself go bankrupt at the same time, the lent security will not be returned to SPV, there will arise a shortage, which will be proportionally distributed among the accounts of the clients holding this particular security. However, then the investor compensation scheme should kick in and help you recover up to 20000 EUR of your losses.