Description Usage Arguments Details Value Note See Also Examples
cancelOrder
1 | cancelOrder(token = "", live = FALSE, orderId = "")
|
token |
token from tinkoff |
live |
live trading - TRUE or sandbox (paper) trading - FALSE |
orderId |
id of order from getOrders |
As described by the official Tinkoff Investments documentation
returns a list object containing the information about state of operation.
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.
1 2 3 4 5 6 | paper_token = 'your_sandbox_token_from_tcs_account'
cancelOrder(paper_token,'your_order_id')
live_token = 'your_live_token_from_tcs_account'
# remember that this command will close your order in live account !
cancelOrder(live_token,TRUE,'your_order_id')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.