Delegate object is returned by some [[Trading Terminal]] methods and is is required to use an [[Account Manager]]. Using this object you can get updated and update of an event.
subscribe(object, member)
Subscribes object::member to the event.
-
object
is an owner of member, it can be null for a function -
member
is a method of object
unsubscribe(object, member)
Unsubscribes object::member from the event.
Use the same object and member that you used in subscribe
function to unsubscribe from the event.