I want to talk about limited partnerships, especially on whose where 1 person can be both a general and limited partner. My idea is to defer payment of taxes. For example, I make $10k profit for the year. So in the country of residence I have to pay tax on this amount. It didn't matter if there was a distribution of funds or not, as far as I understand it. But instead I invest all that amount in stocks. The next year I can sell some of it to use the money again. Can I legally defer paying tax in this way?