Class BlockQuoteValidator

java.lang.Object
com.caplin.motif.fx.ret.fxtrading.submission.block.BlockQuoteValidator

public class BlockQuoteValidator extends Object
Validates a given (mapped) block quote. Compares the all in rate of each leg of the block quote with the trade event's price.
  • Constructor Details

    • BlockQuoteValidator

      public BlockQuoteValidator()
  • Method Details

    • validateAgainstQuote

      public boolean validateAgainstQuote(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, com.caplin.generated.motif.fx.trading.rfs.events.client.ExecuteTradeEvent executeEvent, MappedBlockQuote currentQuote)