The stock market serves as a dynamic platform where traders and investors engage in buying, selling, and trading securities, primarily…