Class DefaultIfDoneOCOValidator

java.lang.Object
com.caplin.motif.fx.trading.orders.submission.validator.DefaultIfDoneOCOValidator
All Implemented Interfaces:
OrderSubmissionValidator

@Deprecated public class DefaultIfDoneOCOValidator extends Object implements OrderSubmissionValidator
Deprecated.

The default implementation of OrderSubmissionValidator for IfDoneOCO submissions.

Checks that the first leg is either STOP-LOSS, TAKE-PROFIT or MARKET

Checks that the second leg is TAKE-PROFIT and the third leg is STOP-LOSS