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:
void validate(com.caplin.trading.Trade trade) throws ValidationException
ValidationExceptionif the trade is not valid.
trade- The trade to be validated
ValidationException- If there was a problem validating the trade.
Copyright © 2019 Caplin Systems.