Description Usage Arguments Details Value Note Author(s) See Also Examples
Makes a request to the server, and returns an data.table object with information about orderbook for selected instrument if successful.
1 2 3 4 5 6 7 | getOrderBook(
token = "",
live = FALSE,
figi = "",
depth = NULL,
verbose = FALSE
)
|
token |
token from Tinkoff account |
live |
live trading - TRUE or sandbox (paper) trading - FALSE (default) |
figi |
internal tinkoff code for instrument |
depth |
depth of orderbook, number of bids and asks (1 <= depth <= 20) |
verbose |
display status of retrieval (default FALSE) |
As described by the official Tinkoff Investments documentation
returns an data.table object containing the information about current OrderBook.
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 | live = FALSE
token = 'your_sandbox_token_from_tcs_account'
getOrderBook(token,live,figi = 'BBG005HLTYH9',depth = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.