Downloads the history stock prices from yahoo finance and predict the pattern