Account Summary
Introduction
The initial invocation of reqAccountSummary will result in a list of all requested values being returned, and then every three minutes those values which have changed will be returned. The update frequency of 3 minutes is the same as the TWS Account Window and cannot be changed.
Requesting Account Summary
EClient.reqAccountSummary(reqId, group, tags)
Requests a specific account’s summary. This method will subscribe to the account summary as presented in the TWS’ Account Summary tab. Customers can specify the data received by using a specific tags value. See the Account Summary Tags section for available options.
Alternatively, many languages offer the import of AccountSummaryTags with a method to retrieve all tag values.
The unique request identifier.
Set to "All" to return account summary data for all accounts, or set to a specific Advisor Account Group name that has already been created in TWS Global Configuration.
A comma separated list with the desired tags.
Python
Java
C++
C#
VB.NET
Account Summary Tags
Receiving Account Summary
EWrapper.accountSummary
EWrapper.accountSummary(reqId, account, tag, value, currency)
Receives the account information. This method will receive the account information just as it appears in the TWS’ Account Summary Window.
The request’s unique identifier.
The account id.
The account’s attribute being received.
The account’s attribute’s value.
The currency on which the value is expressed.
Python
Java
C++
C#
VB.NET
EWrapper.accountSummaryEnd
EWrapper.accountSummaryEnd(reqId)
Notifies when all the accounts’ information has been received.
The request’s identifier.
Python
Java
C++
C#
VB.NET
Cancel Account Summary
EClient.cancelAccountSummary(reqId)
Once the subscription to account summary is no longer needed, it can be cancelled via the EClient.cancelAccountSummary method.
The identifier of the previously performed account request.

