Modifier and Type | Field and Description |
---|---|
static String |
NET_CONTRA_AMOUNT
The name of the field for net contra amount
|
static String |
NET_DEALT_AMOUNT
The name of the field for net dealt amount
|
Constructor and Description |
---|
BlockQuote(BlockTradeNetInfo netInfo,
List<LegQuote> quotes,
BlockTrade blockTrade)
Constructs a BlockQuote with the specified quotes, and adds netted legs to the original ones
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getQuoteFields()
Returns the fields that will be sent to the client for a Quote.
|
List<LegQuote> |
getQuotes()
Returns the leg quotes
|
public static final String NET_DEALT_AMOUNT
public static final String NET_CONTRA_AMOUNT
public BlockQuote(BlockTradeNetInfo netInfo, List<LegQuote> quotes, BlockTrade blockTrade) throws BlockQuoteException
quotes
- The list of quotes of all the legs.blockTrade
- the original trade sent by the clientnetInfo
- the BlockTradeNetInfoBlockQuoteException
- if a corresponding netted leg cannot be foundCopyright © 2015 Caplin Systems.