$ : chr "SPY.Open" "SPY.High" "SPY.Low" "SPY.Close". # Look at the structure of the 'spy' object Spy <- getSymbols(Symbols = "SPY", auto.assign = FALSE) # Assign SPY data to object named 'spy' using auto.assign argument # QQQ.Open QQQ.High QQQ.Low QQQ.Close QQQ.Volume QQQ.Adjusted $ : chr "QQQ.Open" "QQQ.High" "QQQ.Low" "QQQ.Close". # Look at the structure of the object getSymbols created GetSymbols(Symbols = "QQQ", auto_assign = TRUE) exchange rate, US Dollar per South Korean Won (for the past 180 days) Retrieve the data for the period between -31, using the packages and functions you learned in this course.2.6 Use quantmod to download multiple instruments and extract the close column.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |