27 Stocks
Readings
Guided Instruction
The stock market is overflowing with data. There are many packages in R that allow us to get quick access to information on publicly traded companies. Imagine that you and a friend each purchased about $1,000 of stock in three different stocks at the start of October last year, and you want to compare your performance up to this week. Use the stock shares purchased and share prices to demonstrate how each of you fared over the period you were competing (assuming that you did not change your allocations).
- Decide the three stocks that your friend picks and the three that you pick.
- Pull the price performance data of those 6 stocks using
library(tidyquant)
. - Create a chart to show who is winning at each day of the competition.
- We also need to know which stock is helping the winner of the competition. Incorporate this into the visualization of the previous bullet, or create a separate visualization to tell this part of the story.
- Write one or two paragraphs summarizing your graphics and the choices you made in the data presentation.
- Render the
.qmd
. Push the.qmd
,.md
, and.html
files to your GitHub repository.
Submit
In I-learn submit a link to the .md
file on GitHub.