Description Usage Arguments Details Note Author(s) See Also Examples
this function will place your order in to account.
1 2 3 4 5 6 7 8 | limitOrder(
token = "",
live = FALSE,
figi = "",
direction = NULL,
lots = NULL,
price = NULL
)
|
token |
token from Tinkoff account |
live |
live trading - TRUE or sandbox (paper) trading - FALSE (default) |
figi |
internal tinkoff code for instrument |
direction |
"Buy" or "Sell" |
lots |
number of lots to buy |
price |
price of limit order |
As described by the official Tinkoff Investments documentation. If you want live trading, use sandbox=FALSE with live token
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.
Vyacheslav Arbuzov
1 2 3 4 5 6 | paper_token = 'your_sandbox_token_from_tcs_account'
limitOrder(paper_token,figi='BBG005HLTYH9',direction='Buy',lots=1,price=100)
live_token = 'your_live_token_from_tcs_account'
# remember that this command will place limit order in your live account !
limitOrder(live_token,live=TRUE,figi='BBG005HLTYH9',direction='Buy',lots=1,price=100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.