The problem is not your broker,︀ the problem is your tax office, once you make over a certain amount or spend︁ a certain amount but your taxes aren't matching they investigate you. Then they audit and︂ demand endless paper work. Then they will challenge your residency as a non-resident and dig︃ into your broke information. Then they see you said you were a resident for 364︄ days in a year, then on the last day you claim to be a non-resident︅ and just so happen to get a big fat check? They aren't dummies, their job︆ is to presume you are guilty and cheating them until your paper work proves otherwise.︇ Their job is to catch you.
Now this all varies by country, because different countries,︈ different laws right.
But if you register yourself as a tax resident of Bermuda on︉ January 5, 2020, and sell your stocks the same day, it won't work. Tax man︊ works off of tax year not tax day. The right way to do this. Is︋ basically completely detatch yourself from home nation (lets just say Germany as an example- but︌ this is not specific to Germany as I'm not familiar with German tax law). No︍ drivers license, no healthcard, no house, wife, kid, dog, cat, car, bank account, credit/debit cards,︎ employees (if possible) etc. The less connections you have the better. Now if you get️ rid all the other stuff in January 2019 but the employees, your probably good... for 2020! sO YOu'd want to then acquire full residency/citizenship of tax haven nation like Bermuda etc. by 2019. Then ideally you'd want to get something in writing from German tax office saying they consider you a non-tax resident for the 2019 year. This makes it hard for them to come after you later (which is what they would do when they see all the money you bring into your German accounts in the future), then in 2020 you pay yourself out the profits and don't enter Germany at all. BY︀ 2021, you can legally re-enter Germany with your money and pay no tax on that︁ income.
Ultimately, to be tax free, you must become location independent. What you can do︂ is run your business in Germany, have a manager for your business if it must︃ be done in Germany and then be a resident of Bermuda, and limit your time︄ in Germany to 3 months or less (like a tourist) to keep the business running︅ smoothly. The idea that you will stay in Germany, Canada , USA, or some other︆ highly industrialized nation and pay no taxes legally while living there is largely a fantasy︇ of the past. There are a few exceptions, but the government is working super hard︈ to plug them hence mandating reporting of TAX FREE income in many places.
For instance,︉ in Canada, income earned from a foreign trust while living in Canada is actually tax︊ free. However, they are going to close this loophole soon. How do I know, they︋ now are demanding you report oversea assets and overseas trust and they are trying to︌ challenge the trust as being self settled and demanding full documentation to prove it wasnn't︍ self settled. Eventually, they are going to just tax these which is why they are︎ demanding it be reported, despite being non-taxable!