Learn R Programming

tcsinvest (version 0.1.1)

getTickerInfo: Information for instrument. by ticker

Description

Makes a request to the server, and returns an data.table object with information about instrument if successful.

Usage

getTickerInfo(token = "", live = FALSE, ticker = "", verbose = FALSE)

Arguments

token

token from Tinkoff account

live

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

ticker

internal tinkoff code for instrument

verbose

display status of retrieval (default FALSE)

Value

returns an data.table object containing the information about instrument.

Details

As described by the official Tinkoff Investments documentation

See Also

getSymbolInfo

Examples

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

Run the code above in your browser using DataLab