Class BlockTradeExecuteTranslator

java.lang.Object
com.caplin.motif.fx.trading.block.BlockTradeExecuteTranslator
All Implemented Interfaces:
Consumer<com.caplin.trading.TradeEvent>

public class BlockTradeExecuteTranslator extends Object implements Consumer<com.caplin.trading.TradeEvent>
  • Constructor Details

    • BlockTradeExecuteTranslator

      public BlockTradeExecuteTranslator(BlockTradeListener listener)
      Instantiates a Block Trade Execute Translator
      Parameters:
      listener - the BlockTrade listener
  • Method Details

    • accept

      public void accept(com.caplin.trading.TradeEvent event)
      Triggered on trade event
      Specified by:
      accept in interface Consumer<com.caplin.trading.TradeEvent>
      Parameters:
      event - the trade event