blpapi.test.createEvent

blpapi.test.createEvent(eventType)

Create an blpapi.Event with the specified eventType 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

Event

The behavior is undefined if blpapi.EventFormatter is used with the returned blpapi.Event.