This is an R function that predicts the asset price for the next period using an AR model. It's suitable particularly for high frequency price prediction.