blpapi.test.createEvent¶
- blpapi.test.createEvent(eventType)¶
Create an
blpapi.Eventwith the specifiedeventTypeto be used for testing.- Parameters
eventType (int) – Specifies the type of event. See
blpapi.Eventfor 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.EventFormatteris used with the returnedblpapi.Event.