![]() # Assign JNJ data to object named 'jnj' using env argument $ : 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.2.5 Combine objects from an environment using do.call and eapply.2.4 Use Quandl to download weekly returns data.2.3 Use getPrice to extract other columns.2.2 Extract multiple columns from one instrument. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |