Class BlockTradeValidator

    • Constructor Detail

      • BlockTradeValidator

        public BlockTradeValidator()
    • Method Detail

      • validate

        public void validate​(com.caplin.trading.Trade trade)
                      throws ValidationException
        Validates if the trade contains all the required fields
        Specified by:
        validate in interface TradeValidator
        Parameters:
        trade - the generic trade
        Throws:
        ValidationException - If there was a problem validating the trade.