Class BlockQuoteValidator
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.submission.block.BlockQuoteValidator
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validateAgainstQuote
(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, com.caplin.generated.motif.fx.trading.rfs.events.client.ExecuteTradeEvent executeEvent, MappedBlockQuote currentQuote)
-
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)
-