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. See
blpapi.Event
for a list of enumerated values (e.g., Event.SUBSCRIPTION_DATA).- Returns
An event used for testing. It cannot be used for publishing.
- Return type
The behavior is undefined if
blpapi.EventFormatter
is used with the returnedblpapi.Event
.