Class BlockTradePriceUpdateEvent


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

      • NET_DEALT_AMOUNT

        public static final java.lang.String NET_DEALT_AMOUNT
        The name of the field for net dealt amount
        See Also:
        Constant Field Values
      • OVERALL_TIME_OUT

        public static final java.lang.String OVERALL_TIME_OUT
        The name of the field for net contra amount
        See Also:
        Constant Field Values
    • Constructor Detail

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

      • getQuoteFields

        public java.util.Map<java.lang.String,​java.lang.String> getQuoteFields()
        Returns the quote fields
        Returns:
        the map of quote fields