1. Create a program that is capable of downloading multiple assets combine them
ID: 2692744 • Letter: 1
Question
1. Create a program that is capable of downloading multiple assets combine them with the associated time column and save the data into a csv or excel file. 2. With the function created in problem 1. download data on both options and equity for the following symbols: GOOG, SPY, VIX, for two consecutive days during the trading day (9:30am to 4:00pm). Please record the asset values (both GOOG and SPY) at the time when downloading is done. Please do the same with the VIX. For the options please download the next maturity (Feb), Mar, and (Jun). We shall refer to the data sets gathered in the two consecutive days as DATA1 (for the first day) and DATA2 (for the second day) respectively throughout this assignment and the following ones. 3.The following items will also need to be recorded: -The underlying equity or ETF price at the exact moment when the rest of the data is downloaded. -Time to Maturity.Explanation / Answer
PLEASE RATE ME AND AWARD MEKARMA POINTS IF IT IS HELPFUL FOR YOU Basics Flat Files (ASCII text, comma or tab delimited files) The menu commands in Rcommander handle most simple cases of loading data from a file into an R dataframe. The underlying functions tend to have more optional parameters and much greater flexibility and funcitonality. read.table() and scan() functions are sufficient for handling data in simple delimited text files. read.table() is intelligent enough to determine the data types of each variable, and if the variable names are in the first row, they can be directly assigned to the vector objects: testdataRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.