Caplin Trader 4.8.0

Class: module:caplin/trading/validation/MaxTierLimitExceededValidator

module:caplin/trading/validation/MaxTierLimitExceededValidator

The MaxTierLimitExceededValidator is a module:caplin/trading/validation/Validator that is used during a trade to determine whether the max tier limit has been exceeded or not. This class is immutable.

Constructor

new module:caplin/trading/validation/MaxTierLimitExceededValidator()

The constructor for the MaxTierLimitExceededValidator.
Implements:

Methods

validate(data, oValidationResult)

Determines whether the max tier limit has been exceeded or not.
Parameters:
Name Type Description
data module:caplin/trading/trademodel/DataHolder Trading data supplied by the trade such as the instrument, the trading protocol and the asset class. Must not be null or undefined.
oValidationResult module:caplin/trading/validation/ValidationResult The object used to report permission failure. Must not be null or undefined.
Implements: