Learn R Programming

tcsinvest (version 0.1.1)

sandboxPositions: Working with sandbox. Set Positions

Description

Set positions for sandbox account

Usage

sandboxPositions(token = "", balance = NULL, figi = "")

Arguments

token

token from Tinkoff account

balance

balance of figi instrument in sandbox account

figi

internal tinkoff code for instrument

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

sandboxDeletePositions

Examples

Run this code
# NOT RUN {
token = 'your_token_from_tcs_account'
sandboxPositions(token,balance = 100,figi = 'BBG000BMFNP4')
# }

Run the code above in your browser using DataLab