Stock Price Prediction using Dynamic Neural Networks