getAccounts: Download available accounts

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/getAccounts.R

Description

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

Usage

1
getAccounts(token = "", live = FALSE, verbose = FALSE)

Arguments

token

token from Tinkoff account

live

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

verbose

display status of retrieval (default FALSE)

Details

As described by the official Tinkoff Investments documentation

Value

returns an data.table object containing the requested data with available accounts.

Note

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.

Author(s)

Vyacheslav Arbuzov

See Also

getBalance getPortfolio

Examples

1
2
3
live = FALSE
token = 'your_sandbox_token_from_tcs_account'
getAccounts(token,live)

tcsinvest documentation built on Aug. 17, 2021, 9:08 a.m.