But the market seldom stays at equilibrium. Therefore stock market is fundamentally difference from gambling. One can do some prediction after some very careful analysis. For example, fundamental analysis is useful in figuring out the overrall direction of the market on a large time scale.