blpapi.test.createEvent
- blpapi.test.createEvent(eventType)
Create an
blpapi.Event
with the specifiedeventType
to be used for testing.- Parameters:
eventType (
int
) – Specifies the type of event. Seeblpapi.Event
for a list of enumerated values (e.g., Event.SUBSCRIPTION_DATA).- Return type:
- Returns:
An event used for testing. It cannot be used for publishing.
The behavior is undefined if
blpapi.EventFormatter
is used with the returnedblpapi.Event
.