Class BlockTradePriceUpdateEvent


  • public class BlockTradePriceUpdateEvent
    extends ResponderEvent<BlockTrade>
    Represents a Block Quote which is generally comprised of many legs.
    • 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 Map<String,​String> getQuoteFields()
        Returns the quote fields
        Returns:
        the map of quote fields