Description Usage Arguments Value Note Examples
Given a valid index code, this function returns the corresponding historical data
for the specified period (from
until to
). The returned dataframe
includes Date and Value columns.
1 | get_IV(index_code, from, to)
|
index_code |
a character vector of length one. Use |
from |
a character vector of length one matching the format 'yyyy-mm-dd' |
to |
a character vector of length one matching the format 'yyyy-mm-dd' |
a dataframe
The difference between to
and from
should be less than or
equal 3 years.
1 2 | ## Not run: get_IV('MASI', '2014/01/01', '2016/12/31')
## Not run: get_IV('MADEX', '2017/01/01', '2017/06/30')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.