blpapi.Topic
- class blpapi.Topic(handle=None, sessions=None)
Used to identify the stream on which a message is published.
Topic objects are obtained from
createTopics()
onProviderSession
. They are used when adding a message to an Event for publishing usingappendMessage()
onEventFormatter
.- isActive()
- Return type:
- Returns:
True
if this topic was elected by the platform to become the primary publisher.
- isValid()