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
|
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.