Caplin Trader 4.7.1

Class: module:caplin/watchlist/testing/WatchlistStubEvents

module:caplin/watchlist/testing/WatchlistStubEvents

Constructor

new module:caplin/watchlist/testing/WatchlistStubEvents()

Events

ADD_REQUESTED

Triggered by the stub to indicate that a subject add request has been received.
Parameters:
Name Type Description
request module:caplin/services/testing/RequestStub The stubbed request. Its target is a map containing a list of subjects to be added and an index for the first subject to be added to.

PROPERTY_CHANGE_REQUESTED

Triggered by the stub to indicate that a property change request has been received.
Parameters:
Name Type Description
request module:caplin/services/testing/RequestStub The stubbed request. Its target is a map containing the name of the property to change, and the value that the property should be changed to.

REMOVE_REQUESTED

Triggered by the stub to indicate that a subject removal request has been received.
Parameters:
Name Type Description
request module:caplin/services/testing/RequestStub The stubbed request. Its target is a map containing the list of subjects to be removed.