Investors & landlords

So if I understand you correctly, it doesn't make any difference if the money is in my brokerage account or if I withdraw it into my checking account. Either way, it's considered taxable income?