Description Usage Arguments Value Author(s) See Also Examples
View source: R/getMarketIndex.R
Provides stock market indices over the period given
1 2 3 4 5 6 | getMarketIndex(
sector = c("all", "finance", "industry", "agriculture", "construction", "social",
"transport", "trade", "other"),
from = "01.01.2020",
to = "dd.mm.yyyy"
)
|
sector |
A string that indicates the sector: all, finance, industry, agriculture, construction, social, transport, trade, other |
from |
A string representing the start date of the period of interest in date.month.year date format |
to |
A string representing the end date of the period of interest in date.month.year date format |
Returns a data frame
Alisher Suyunov
getSecurities
or RegisteredSecurities
to see the complete list of available securities
getTicker
to download stock prices of the certain stock
1 2 3 4 | ## Not run:
getMarketIndex(sector = "all")
getMarketIndex(sector = "finance", from = "01.01.2020", to = "01.05.2020")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.