Class BlockQuoteValidator


  • public class BlockQuoteValidator
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean validateAgainstQuote​(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, com.caplin.generated.motif.fx.trading.rfs.events.client.ExecuteTradeEvent executeEvent, MappedBlockQuote currentQuote)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockQuoteValidator

        public BlockQuoteValidator()
    • Method Detail

      • 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)