reqAccountUpdates {IBrokers} | R Documentation |
Request and view account details from Interactive Brokers
reqAccountUpdates(conn, account = "1", eventAccountValue, eventPortfolioValue, eventAccountTime, CALLBACK, ...)
conn |
A twsConnection object |
account |
an account description - not used for most accounts |
eventAccountValue |
callback function, if any |
eventPortfolioValue |
callback function, if any |
eventAccountTime |
callback function, if any |
CALLBACK |
main receiver callback, if any |
... |
additional args |
By default, for non-FA accounts, this returns the current login's account information.
This returns a data.frame with 4 columns. The first column is the name of the account value being returned. The second is the value associated with the specific name in column 1. The third column contains the currency, if applicable. The fourth contains the account the information applies to.
A data.frame with key account information.
Jeffrey A. Ryan
Interactive Brokers API: http://www.interactivebrokers.com
## Not run: tws <- twsConnect() reqAccountUpdates(tws) twsDisconnect(tes) ## End(Not run)