Subscribe to Display Groups
Introduction
To integrate with a specific Group, you need to first subscribe to the group number by invoking EClient.subscribeToGroupEvents. The EWrapper.displayGroupUpdated callback is triggered once after receiving the subscription request, and will be sent again if the selected contract in the subscribed display group has changed.
Request Group Events Subscription
EClient.subscribeToGroupEvents(requestId, groupId)
Integrates API client and TWS window grouping.
Request identifier used to track data.
The display group for integration.
Python
Java
C++
C#
VB.NET
Receive Group Events Subscription
EWrapper.displayGroupUpdated(requestId, contractInfo)
Call triggered once after receiving the subscription request, and will be sent again if the selected contract in the subscribed display group has changed.
Request identifier used to track data.
Contract information produced for the active display group.
Python
Java
C++
C#
VB.NET
Cancel Group Events Subscription
EClient.unsubscribeFromGroupEvents(requestId)
Cancels a TWS Window Group subscription.
Request identifier used to track data.

