Interface TradeValidator

    • Method Detail

      • validate

        void validate​(com.caplin.trading.Trade trade)
               throws ValidationException
        Checks the validity of a Trade . This method should throw an ValidationException if the trade is not valid.
        Parameters:
        trade - The trade to be validated
        Throws:
        ValidationException - If there was a problem validating the trade.