Stock market indices are one of the most widely used tools for measuring the performance of the stock market. They…