public class RFSTradeValidator extends Object implements TradeValidator
Validates that the initial RFS Trade messages has the correct fields. Validates that RFS Trade is not FORWARD with tenor of SPOT.
Fields include:
Constructor and Description |
---|
RFSTradeValidator()
Constructs the RFS Trade Validator
|
Modifier and Type | Method and Description |
---|---|
void |
validate(com.caplin.trading.Trade trade)
Checks the validity of a Trade .
|
public void validate(com.caplin.trading.Trade trade) throws ValidationException
TradeValidator
ValidationException
if the
trade is not valid.validate
in interface TradeValidator
trade
- The trade to be validatedValidationException
- If there was a problem validating the trade.Copyright © 2015 Caplin Systems.