positions | R Documentation |
Several convenience functions for connecting synchronously to the TWS.
executions(port = 7496, clientId = 1)
order_status(port = 7496, clientId = 1)
positions(port = 7496, clientId = 1)
port |
integer |
clientId |
integer |
The functions follow the same pattern: connect to the TWS, send requests, receive and process results, and disconnect. Results are typically arranged as data frames.
Warning: these functions are very experimental, and returned results may change.
A data.frame
. If there are no executions, orders or
positions, the functions return NULL
invisibly.
Enrico Schumann
positions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.