Files
OpenBB/prediction_techniques

PREDICTION TECHNIQUES

This menu aims to predict the share price of a pre-loaded stock, and the usage of the following commands along with an example will be exploited below.

  • sma
    • simple moving average
  • knn
    • k-Nearest Neighbors
  • linear
    • linear regression (polynomial 1)
  • quadratic
    • quadratic regression (polynomial 2)
  • cubic
    • cubic regression (polynomial 3)
  • regression
    • regression (other polynomial)
  • arima
    • autoregressive integrated moving average
  • prophet
    • Facebook's prophet prediction
  • mlp
    • MultiLayer Perceptron
  • rnn
    • Recurrent Neural Network
  • lstm
    • Long-Short Term Memory

Note: Use this at your own discretion. All of these prediciton techniques rely solely on the closing price of the stock. This means that there are several factors that the models aren't aware of at the time of prediction, and may - drastically - move the price up or down. Examples are: news, analyst price targets, reddit post, tweets from Elon Musk, and so on.

sma

knn

linear

quadratic

cubic

regression

arima

prophet

mlp

rnn

lstm