Based on our internal trading algorithm, we believe that the AMZN stock will decrease in price during the next trading period.
The chart below is made with the quantmod R package, a
widely used package for collecting and visualizing financial data in R.
You can learn more about quantmod at the website WEBSITE.
This forecast 1 was predicted with the recency algorithm, a simple—probably useless—method for determining stock prices. The recency algorithm predicts that the next price movement, \(M_j\), will be in the same direction as the most recent price movement. \(M_i\). \[M_i=Close_i-Open_i \] \[ M{j}= \begin{cases} >0, & \text{if } M_{i} > 0\\ \leq 0, & \text{if } M_{i}\leq 0 \end{cases}\]
The table below displays the most recent 10 days of price data for the AMZN stock.
| AMZN.Open | AMZN.High | AMZN.Low | AMZN.Close | AMZN.Volume | AMZN.Adjusted | |
|---|---|---|---|---|---|---|
| 2022-08-15 | 142.80 | 143.76 | 141.49 | 143.18 | 39014600 | 143.18 |
| 2022-08-16 | 143.91 | 146.57 | 142.00 | 144.78 | 59102900 | 144.78 |
| 2022-08-17 | 142.69 | 143.38 | 140.78 | 142.10 | 48149800 | 142.10 |
| 2022-08-18 | 141.32 | 142.77 | 140.38 | 142.30 | 37458700 | 142.30 |
| 2022-08-19 | 140.47 | 141.11 | 137.91 | 138.23 | 47727300 | 138.23 |
| 2022-08-22 | 135.72 | 136.32 | 132.85 | 133.22 | 50461500 | 133.22 |
| 2022-08-23 | 133.41 | 134.99 | 132.95 | 133.62 | 36252100 | 133.62 |
| 2022-08-24 | 132.75 | 135.47 | 132.10 | 133.80 | 38627000 | 133.80 |
| 2022-08-25 | 135.26 | 137.42 | 134.28 | 137.28 | 37496300 | 137.28 |
| 2022-08-26 | 136.55 | 137.83 | 130.50 | 130.75 | 53253100 | 130.75 |
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.
“If it weren’t for my lawyer, I’d still be in prison. It went a lot faster with two people digging.”
sessioninfo::session_info()
Session info ——————————- setting value version R version 4.2.1 (2022-06-23 ucrt) os Windows 10 x64 (build 22000) system x86_64, mingw32 ui RStudio language (EN) collate English_United States.utf8 ctype C tz America/New_York date 2022-08-28 rstudio 2022.07.1+554 Spotted Wakerobin (desktop) pandoc 2.18 @ C:/Program Files/RStudio/bin/quarto/bin/tools/ (via rmarkdown)
Packages ———————————– package * version date (UTC) lib source cli 3.3.0 2022-04-25 [1] CRAN (R 4.2.1) digest 0.6.29 2021-12-01 [1] CRAN (R 4.2.1) evaluate 0.16 2022-08-09 [1] CRAN (R 4.2.1) fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.2.1) htmltools 0.5.3 2022-07-18 [1] CRAN (R 4.2.1) knitr 1.39 2022-04-26 [1] CRAN (R 4.2.1) rlang 1.0.4 2022-07-12 [1] CRAN (R 4.2.1) rmarkdown 2.14 2022-04-25 [1] CRAN (R 4.2.1) rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.2.1) sessioninfo 1.2.2 2021-12-06 [1] CRAN (R 4.2.1) xfun 0.32 2022-08-10 [1] CRAN (R 4.2.1) yaml 2.3.5 2022-02-21 [1] CRAN (R 4.2.1)
[1] C:/Users/vladi/AppData/Local/R/win-library/4.2 [2] C:/Program Files/R/R-4.2.1/library
footnote content↩︎