Learn R Programming

tcsinvest (version 0.1.1)

getUniverse: Download universe data (stocks,bonds,etfs,currencies)

Description

Makes 4 request to the server, and returns an data.table object with information about available instruments in Tinkoff

Usage

getUniverse(token = "", live = FALSE)

Arguments

token

token from Tinkoff account

live

live trading - TRUE or sandbox (paper) trading - FALSE (default)

Value

returns an data.table object containing the list of available stocks,bonds,etfs,currencies.

Details

this function for not from official list of functions.

See Also

getCurrencies getBonds getETFs getStocks

Examples

Run this code
# NOT RUN {
live = FALSE
token = 'your_sandbox_token_from_tcs_account'
getUniverse(token,live)
# }

Run the code above in your browser using DataLab