Class BlockTradeExecuteTranslator

  • All Implemented Interfaces:
    Consumer<com.caplin.trading.TradeEvent>

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

      • BlockTradeExecuteTranslator

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

      • 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