This is the sourced code for the model proposed in https://arxiv.org/abs/1704.02971, to predict stock price based on NARX (nonlinear autoregressive exogenous) model. Below is the illustration of the model (picture source from https://arxiv.org/abs/1704.02971).