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. Seeblpapi.Eventfor 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.EventFormatteris used with the returnedblpapi.Event.