View source: R/reqManagedAccts.R
reqManagedAccts | R Documentation |
A single username can handle more than one account. As mentioned in the Connectivity section, the TWS will automatically send a list of managed accounts once the connection is established. The list can also be fetched via the IBApi.EClient.reqManagedAccts method. For an individual account, this call works as well and returns a single account.
reqManagedAccts(twsconn)
twsconn |
a valid tws connection object |
Individual account: a string containing a single account number. For a FamilyAccount it returns a string with a ',' separated list of available accounts.
J.W. de Roode
Interactive Brokers https://www.interactivebrokers.com
## Not run: tws <- twsConnect() reqManagedAccts(tws) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.