The stock market can be simply said as a collection of markets and exchanges where regular activities like buying, selling,…