powered by
getPrices
Multiple Morningstar API calls using getPrice functions. Refer to `getPrices()` for list of currently supported data feeds.
getPrices( feed = "CME_NymexFutures_EOD", contracts = c("CL9Z", "CL0F", "CL0M"), from = "2019-01-01", iuser = "x@xyz.com", ipassword = "pass" )
Morningstar Feed Table
Symbols vector
From date as character string
Morningstar user name as character - sourced locally in examples.
Morningstar user password as character - sourced locally in examples.
wide data frame
# NOT RUN { getPrices(feed="CME_NymexFutures_EOD",contracts=c("CL9Z","CL0F","CL0M"), from="2019-08-26",iuser = username, ipassword = password) # }
Run the code above in your browser using DataLab