public interface TradeValidator
An interface for validating a trade submission
A class that is interested in validating the submission of an FX trade should implement this interface. It can be registered by calling:
Modifier and Type | Method and Description |
---|---|
void |
validate(com.caplin.trading.Trade trade)
Checks the validity of a Trade .
|
void validate(com.caplin.trading.Trade trade) throws ValidationException
ValidationException
if the
trade is not valid.trade
- The trade to be validatedValidationException
- If there was a problem validating the trade.Copyright © 2020 Caplin Systems.