Caplin Trader 5.1.0

Class: module:ct-alerts/TriggerServiceEvents

module:ct-alerts/TriggerServiceEvents()

Constructor

new module:ct-alerts/TriggerServiceEvents()

Events

ADDED

Triggered when a trigger is received.

Parameters:
Name Type Description
trigger module:ct-alerts/Trigger

The added trigger.

REMOVED

Triggered when a trigger is removed.

Parameters:
Name Type Description
trigger module:ct-alerts/Trigger

The removed trigger.

STATUS_CHANGED

Triggered when the status of this service's data changes.

Parameters:
Name Type Description
status module:ct-services/ServiceStatus

The status of the data.