analysing data for the stock market