getPrices | R Documentation |
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"
)
feed |
Morningstar Feed Table. |
contracts |
Symbols vector. |
from |
From date yyyy-mm-dd. |
iuser |
Morningstar user name as character - sourced locally in examples. |
ipassword |
Morningstar user password as character - sourced locally in examples. |
wide data frame. tibble
Philippe Cote
## Not run:
getPrices(
feed = "CME_NymexFutures_EOD", contracts = c("@CL0Z", "@CL1F", "@CL21H", "@CL21Z"),
from = "2020-01-01", iuser = username, ipassword = password
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.