Class BlockTradePriceUpdateEvent

java.lang.Object
com.caplin.motif.fx.trading.ResponderEvent<BlockTrade>
com.caplin.motif.fx.trading.block.event.BlockTradePriceUpdateEvent

public class BlockTradePriceUpdateEvent extends ResponderEvent<BlockTrade>
Represents a Block Quote which is generally comprised of many legs.
  • Field Details

  • Constructor Details

    • BlockTradePriceUpdateEvent

      public BlockTradePriceUpdateEvent(BlockTradeNetInfo netInfo, Message quote) throws BlockQuoteException
      Constructs a BlockQuote with the specified quotes, and adds netted legs to the original ones
      Parameters:
      quote - The list of quotes of all the legs.
      netInfo - the BlockTradeNetInfo
      Throws:
      BlockQuoteException - if a corresponding netted leg cannot be found
    • BlockTradePriceUpdateEvent

      public BlockTradePriceUpdateEvent(BlockTradeNetInfo netInfo, Message quote, int timeout) throws BlockQuoteException
      Constructs a BlockQuote with the specified quotes, and adds netted legs to the original ones
      Parameters:
      quote - The list of quotes of all the legs.
      netInfo - the BlockTradeNetInfo
      Throws:
      BlockQuoteException - if a corresponding netted leg cannot be found
  • Method Details

    • getQuoteFields

      public Map<String,String> getQuoteFields()
      Returns the quote fields
      Returns:
      the map of quote fields