Delegate - SpartaCommodities/Trading_view_wiki GitHub Wiki
Delegate is an object that is used in the Account Manager to notify about events happening with orders, positions and other information displayed in the tables.
subscribe(object, member)
objectis an owner ofmember, and can be null for a functionmemberis a method of object
Subscribes object::member to the event.
unsubscribe(object, member)
Unsubscribes object::member from the event.
Use the same object and member that you used in the subscribe function to unsubscribe from the event.