The stock market shouldn’t be abolished without also abolishing other aspects of Capitalism, yes. Workers must currently take advantage of everything they can within the current system. However, people should be striving towards worker ownership of the Means of Production, and keeping the stock market would allow Capitalism to resurface.