Caplin Trader 5.1.0

Class: module:ct-watchlist/WatchlistServiceEvents

module:ct-watchlist/WatchlistServiceEvents()

Constructor

new module:ct-watchlist/WatchlistServiceEvents()

Events

ADDED

Triggered when a watchlist is added to the service.

Parameters:
Name Type Description
watchlist module:ct-watchlist/Watchlist

The added watchlist.

REMOVED

Triggered when a watchlist is removed from the service.

Parameters:
Name Type Description
watchlist module:ct-watchlist/Watchlist

The removed watchlist.

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.