Skip to main content
QUICK REVIEW

[Paper Review] Time Series Prediction : Predicting Stock Price

Aaron Elliot, Cheng Hua Hsu|arXiv (Cornell University)|Oct 16, 2017
Stock Market Forecasting MethodsDecision Sciences1 references5 citations
TL;DR

This paper evaluates four models—martingale, linear, generalized linear (GLM), and LSTM-based RNN—for predicting S&P 500 stock prices. Despite the RNN's ability to capture temporal dependencies, it does not outperform the simple martingale baseline in forecasting accuracy, highlighting persistent challenges in time series prediction. The study further introduces online-to-batch algorithms and option-based trading strategies to enable practical, low-risk deployment of forecasts.

ABSTRACT

Time series forecasting is widely used in a multitude of domains. In this paper, we present four models to predict the stock price using the SPX index as input time series data. The martingale and ordinary linear models require the strongest assumption in stationarity which we use as baseline models. The generalized linear model requires lesser assumptions but is unable to outperform the martingale. In empirical testing, the RNN model performs the best comparing to other two models, because it will update the input through LSTM instantaneously, but also does not beat the martingale. In addition, we introduce an online to batch algorithm and discrepancy measure to inform readers the newest research in time series predicting method, which doesn't require any stationarity or non mixing assumptions in time series data. Finally, to apply these forecasting to practice, we introduce basic trading strategies that can create Win win and Zero sum situations.

Motivation & Objective

  • To evaluate the predictive performance of four time series models—martingale, linear, GLM, and RNN—on S&P 500 stock price data.
  • To assess whether advanced models like GLM and RNN can outperform simple baseline models under real-world assumptions.
  • To explore practical trading strategies that leverage forecasting models to achieve win-win or zero-sum outcomes.
  • To introduce online-to-batch algorithms and discrepancy measures as tools for forecasting without stationarity assumptions.

Proposed method

  • Uses the S&P 500 index as input time series data for model training and evaluation.
  • Employs the martingale model as a baseline, assuming the best forecast is the current price.
  • Applies a generalized linear model (GLM) with a log link function to model log-normal distributed returns.
  • Implements a Long Short-Term Memory (LSTM) recurrent neural network to capture long-term dependencies in sequential data.
  • Introduces an online-to-batch (OTB) algorithm to convert online learning models into batch learning with theoretical guarantees.
  • Designs trading strategies including options-based hedging, arbitrage, mean reversion, and scalping to apply forecasts in practice.

Experimental results

Research questions

  • RQ1Can a deep learning model like LSTM-RNN outperform simpler models such as the martingale in predicting stock prices?
  • RQ2Does a GLM with a log link function improve forecasting accuracy over linear and martingale baselines on S&P 500 data?
  • RQ3To what extent do stationarity and mixing assumptions limit the performance of traditional time series models in stock price prediction?
  • RQ4Can online-to-batch algorithms enable robust forecasting without requiring stationarity or mixing assumptions?
  • RQ5How can predictive models be practically applied to generate consistent returns through option-based and algorithmic trading strategies?

Key findings

  • The RNN model achieves the best performance among the four models in terms of MAE and RMSE, but still fails to outperform the martingale baseline.
  • The martingale model, which assumes the current price is the best predictor, remains a strong benchmark, indicating limited predictability in stock returns.
  • The GLM model, despite requiring fewer assumptions than linear models, does not outperform the martingale, suggesting limited improvement in predictive power.
  • The proposed online-to-batch algorithm enables forecasting without relying on stationarity or mixing assumptions, offering a robust alternative for non-stationary time series.
  • Trading strategies such as options hedging, arbitrage, and mean reversion can convert forecasting models into practical, low-risk applications, achieving win-win or zero-sum outcomes.
  • Even with suboptimal forecasting accuracy, the integration of models with options and algorithmic strategies enables profitable and risk-mitigated trading.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.