public class TradeInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
aggressorOrderId
aggressor for this trade, can be null if not know/not applicable
|
boolean |
isBidAggressor
true if bid was the aggressor, false if ask was the aggressor
|
boolean |
isExecutionEnd
true if this trade ends order execution chain
|
boolean |
isExecutionStart
true if this trade starts new order execution chain
|
boolean |
isOtc
true if the trade is OTC
|
java.lang.String |
passiveOrderId
order (partially) consumed by aggressor, can be null if not known/not applicable
|
private static long |
serialVersionUID |
Constructor and Description |
---|
TradeInfo(boolean isOtc,
boolean isBidAggressor) |
TradeInfo(boolean isOtc,
boolean isBidAggressor,
boolean isExecutionStart,
boolean isExecutionEnd) |
TradeInfo(boolean isOtc,
boolean isBidAggressor,
boolean isExecutionStart,
boolean isExecutionEnd,
java.lang.String aggressorOrderId,
java.lang.String passiveOrderId) |
Modifier and Type | Method and Description |
---|---|
boolean |
compare(TradeInfo other) |
private static final long serialVersionUID
public final boolean isOtc
public final boolean isBidAggressor
public final boolean isExecutionStart
public final boolean isExecutionEnd
public final java.lang.String aggressorOrderId
public final java.lang.String passiveOrderId
public TradeInfo(boolean isOtc, boolean isBidAggressor)
public TradeInfo(boolean isOtc, boolean isBidAggressor, boolean isExecutionStart, boolean isExecutionEnd)
public TradeInfo(boolean isOtc, boolean isBidAggressor, boolean isExecutionStart, boolean isExecutionEnd, java.lang.String aggressorOrderId, java.lang.String passiveOrderId)
public boolean compare(TradeInfo other)