If thats the case, then an elite visa and staying 180+ days in thailand will cover tax residency issues, while paying 0% income tax on foreign sourced income.
In my case, I'd offshore a company and trade with that (in say, dubai or something), and hire and pay myself a salary. For my own...