## Warning: package 'xts' was built under R version 4.1.3
## Warning: package 'zoo' was built under R version 4.1.3
## Warning: package 'quantmod' was built under R version 4.1.3
## Warning: package 'TTR' was built under R version 4.1.3

Recommendation: SELL

will decrease in price during the next trading period.

Price History

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 www.quantmod.com.


Method

This forecast 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} \] ## Raw Data

The table below displays the daily price data for the stock. In the next section, we will learn how to make a concise, interactive table with the DT package, a new package for making searchable data tables. You can learn more about the DT package at the website rstudio.github.io/DT/.


           GOOG.Open GOOG.High GOOG.Low GOOG.Close
2007-01-03  232.1299  237.4400 229.6940   232.9220
2007-01-04  233.6243  241.0714 233.3005   240.7277
2007-01-05  240.3491  242.8398 238.1623   242.6853
2007-01-08  242.9344  244.0204 240.1997   240.8871
2007-01-09  241.8186  243.2134 239.7015   241.8435