Algorithmic forecasting of stock price processes