Stock Market is a place where shares of pubic listed companies are traded. The primary market is where companies float…