An attempt to make a stock market analyzer in php