Managed Accounts
Introduction
A single user name can handle more than one account. The TWS will automatically send a list of managed accounts once the connection is established. The list can also be fetched via the EClient.reqManagedAccts method.
Request Managed Accounts
EClient.reqManagedAccts()
Requests the accounts to which the logged user has access to.
Python
Java
C++
C#
VB.NET
Receive Managed Accounts
EWrapper.managedAccounts(accountsList)
Returns a string of all available accounts for the logged in user. Occurs automatically on initial API client connection.
accountsList
A comma-separated string with the managed account ids.

