Learn R Programming

tcsinvest (version 0.1.1)

sandboxBalance: Working with sandbox. Set balance

Description

Set balance for sandbox account

Usage

sandboxBalance(token = "", balance = NULL, currency = "RUB")

Arguments

token

token from Tinkoff account

balance

balance of money in sandbox account

currency

currency of sandbox account. "USD","EUR" or "RUB"

Value

returns a list object containing the information about state of operation.

Details

If you need to create few money position, use this function for each position

See Also

sandboxPositions

Examples

Run this code
# NOT RUN {
token = 'your_token_from_tcs_account'
sandboxBalance(token,balance = 10000,currency = 'USD')
# }

Run the code above in your browser using DataLab