as soon as Zhang sell any of his stocks, he needs to pay tax on
if he sells them with in a year, he pays short term capital gain or w2 income tax which presumely is much higher than 15%.
after he sold the stock, paid the taxes, it becomes irrelavent that he invests the money on real estate or other stuff.