Would a nihilist invest in the stock market?

If life is meaningless, what’s the point of investing?