View source: R/getSymbolList.r
getSymbolList | R Documentation |
This function retrieves a list of symbols for a specified stock exchange from a variety of sources. The available sources are poloniex, rusquant, tinkoff, mfd, finam, alor, and kraken. The function returns a data.table object containing the symbol information for the requested exchange.
getSymbolList(
src = "poloniex",
verbose = FALSE,
auto.assign = FALSE,
country = "",
api.key = "",
type = "Shares",
env = globalenv(),
user_agent = NULL
)
src |
character indicating the source of the symbol list. Possible values are "poloniex", "rusquant", "tinkoff", "mfd", "finam", "alor", and "kraken". |
verbose |
logical indicating whether or not to print additional information. The default is FALSE. |
auto.assign |
logical indicating whether or not to automatically assign the data.table object to the global environment. The default is FALSE. |
country |
character indicating the country of the exchange. The default is an empty string. |
api.key |
character indicating the API key to be used for accessing the source. The default is an empty string. |
type |
character indicating the type of financial instruments to retrieve. Applicable for the "tinkoff", "gigapack","moex". Possible values are "Bonds", "Currencies", "Etfs", "Futures", "Options", and "Shares". |
env |
The environment where the data should be assigned. Defaults to the global environment. |
user_agent |
The special headers for parsing |
Returns a data.table object containing the symbol information for the specified exchange.
Not for the faint of heart. All profits and losses related are yours and yours alone. If you don't like it, write it yourself.
Vyacheslav Arbuzov
getSymbolList()
#getSymbolList(src='moex')
#getSymbolList(src='moex',type='Forts')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.