getAccounts | R Documentation |
This function retrieves account information from a brokerage or exchange.
getAccounts(src = "tinkoff", api.key = "", verbose = FALSE)
src |
a character string specifying the brokerage or exchange. Can be one of "tinkoff" or "alor". Default is "tinkoff". |
api.key |
a character string representing the authorization key for the API. |
verbose |
a logical value indicating whether to print detailed information about the request/response. Default is FALSE. |
A list object with account information, or an error message if the request fails.
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
# get account information from tinkoff
account_info <- getAccounts(src = "Tinkoff", api.key = "your_api_key")
# get account information from alor
account_info <- getAccounts(src = "Alor", api.key = "your_api_key")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.