sandboxBalance: Working with sandbox. Set balance

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

View source: R/sandboxBalance.R

Description

Set balance for sandbox account

Usage

1
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"

Details

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

Value

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

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

sandboxPositions

Examples

1
2
token = 'your_token_from_tcs_account'
sandboxBalance(token,balance = 10000,currency = 'USD')

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