Caplin Trader 4.5.2

Interface: module:caplin/trading/trademodel/TradeOnBehalfOfListener

module:caplin/trading/trademodel/TradeOnBehalfOfListener

The TradeOnBehalfOfListener interface allows interested parties to be informed when a "trade on behalf of" change is initiated by the module:caplin/trading/trademodel/TradeOnBehalfOf object, and when the "trade on behalf of" change is completed.

Implementations:

Methods

tradeOnBehalfOfChangeFailed(sPermissionable)

A pending "trade on behalf of" change has failed, and any subsequent prices are from the old tier.
Parameters:
Name Type Description
sPermissionable String A string representing the permissionable item that we failed to "trading on behalf of".
Implementations:

tradeOnBehalfOfChangeInitiated(sPermissionable)

A "trade on behalf of" change has been initiated, and we are currently awaiting prices for the new tier. Any existing prices should be considered stale.
Parameters:
Name Type Description
sPermissionable String A string representing the permissionable item that we are going to "trade on behalf of".
Implementations:

tradeOnBehalfOfUserChanged(sPermissionable)

A "trade on behalf of" change has been completed, and any subsequent prices are from the new tier.
Parameters:
Name Type Description
sPermissionable String A string representing the permissionable item that we are now "trading on behalf of".
Implementations: