powered by
Makes a request to the server, and returns an data.table object with information about available ETFs if successful.
getETFs(token = "", live = FALSE, verbose = FALSE)
token from Tinkoff account
live trading - TRUE or sandbox (paper) trading - FALSE (default)
display status of retrieval (default FALSE)
returns an data.table object containing the list of available ETFs.
As described by the official Tinkoff Investments documentation
getCurrencies getBonds getStocks
getCurrencies
getBonds
getStocks
# NOT RUN { live = FALSE token = 'your_sandbox_token_from_tcs_account' getETFs(token,live) # }
Run the code above in your browser using DataLab