Attributes | Name and Description |
---|---|
|
caplin.trading.validation.TradingSystemAvailableValidator()
Constructs a new |
Attributes | Name and Description |
---|---|
<static>
|
void
validate(caplin.trading.trademodel.DataHolder oDataToValidate, caplin.trading.validation.ValidationResult oValidationResult)
Extracts the caplin.trading.trademodel.Trade from the |
►
caplin.trading.validation.TradingSystemAvailableValidator()
Constructs a new TradingSystemAvailableValidator
.
►
<static>
void
validate(caplin.trading.trademodel.DataHolder oDataToValidate, caplin.trading.validation.ValidationResult oValidationResult)
Extracts the caplin.trading.trademodel.Trade from the __trade
field within
the specified data to validate. If the trading status for the Trade is
caplin.trading.trademodel.TradingStatus#UNAVAILABLE, a message will be logged and an
error added to the specified ValidationResult
.
caplin.trading.trademodel.DataHolder | oDataToValidate | The data to validate. Must not be null or undefined. |
caplin.trading.validation.ValidationResult | oValidationResult | The caplin.trading.validation.ValidationResult which a failure message will be added to. Must not be null or undefined. |