A Model for Stock Price Prediction using the Soft Computing Approach