library(quantmod)

Question 5

?getSymbols
## starting httpd help server ... done

Question 6

getSymbols("MSFT", src="yahoo",from = "2025-10-01", to = "2026-01-31")
## [1] "MSFT"

Question 8

plot(MSFT$MSFT.Open, type="l")