public final class TradeCapture extends java.lang.Object implements IMessage, java.lang.Comparable<TradeCapture>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
MFFloat |
amount
A currency amount/size, in MFFloat format.
|
MFString |
clOrdID
Client-provided order ID.
|
MFString |
counterPartyID
Exchange-provided info that identifies this capture.
|
MFString |
exOrdID
An exchange-assigned order ID.
|
MFString |
exPendingID
A unique ID for a pending trade execution (has yet to be
confirmed).
|
MFString |
exTradeID
A unique for a completed trade.
|
int |
feedID
A unique identifier for the feed.
|
boolean |
isTaker
This field lets you know whether the other side was an
aggressor.
|
int |
marketID
A market ID, which identifies a unique financial instrument.
|
MatchStatus |
matchStatus
The status of this capture: pending, confirmed, or done.
|
MFString |
modelID
Passed back if supplied in submitOrder (used for risk
management).
|
long |
orderID
Internal order ID.
|
int |
origFeedID
The original feedID if this message comes from MarketFactory
drop copy feed.
|
MFFloat |
price
A currency price, in MFFloat format.
|
int |
sequenceID
User sequence id.
|
long |
settlDate
Exchange-provided info that identifies this capture.
|
Side |
side
The side of the original order.
|
long |
timeApiClient
Timestamp at the client API (taken on the client host).
|
long |
timeApiServer
Timestamp in the client handler within Whisperer.
|
long |
timeExchange
Timestamp provided by the exchange.
|
long |
timeHandler
Timestamp exiting the feed handler within Whisperer.
|
long |
tradeDate
Exchange-provided info that identifies this capture.
|
| Modifier | Constructor and Description |
|---|---|
|
TradeCapture() |
|
TradeCapture(int sequenceID,
long orderID,
MFString clOrdID,
MFString exOrdID,
MFString exPendingID,
MFString exTradeID,
MFString modelID,
long timeExchange,
long timeHandler,
long timeApiServer,
long timeApiClient,
int feedID,
int origFeedID,
int marketID,
Side side,
MFFloat amount,
MFFloat price,
boolean isTaker,
MatchStatus matchStatus,
MFString counterPartyID,
long tradeDate,
long settlDate) |
protected |
TradeCapture(ZeroGCProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TradeCapture rhs) |
void |
deepCopy(TradeCapture src) |
void |
deserializeZeroGC(ZeroGCProtoByteBuffer buffer) |
protected void |
dump(TextWriter wr) |
boolean |
equals(java.lang.Object rhs) |
int |
getMsgType() |
int |
hashCode() |
void |
serialize(ZeroGCProtoByteBuffer buffer) |
java.lang.String |
toString() |
public int sequenceID
public long orderID
public MFString clOrdID
public MFString exOrdID
public MFString exPendingID
public MFString exTradeID
public MFString modelID
public long timeExchange
public long timeHandler
public long timeApiServer
public long timeApiClient
public int feedID
public int origFeedID
public int marketID
public Side side
public MFFloat amount
public MFFloat price
public boolean isTaker
public MatchStatus matchStatus
public MFString counterPartyID
public long tradeDate
public long settlDate
public TradeCapture()
protected TradeCapture(ZeroGCProtoByteBuffer buffer)
public TradeCapture(int sequenceID,
long orderID,
MFString clOrdID,
MFString exOrdID,
MFString exPendingID,
MFString exTradeID,
MFString modelID,
long timeExchange,
long timeHandler,
long timeApiServer,
long timeApiClient,
int feedID,
int origFeedID,
int marketID,
Side side,
MFFloat amount,
MFFloat price,
boolean isTaker,
MatchStatus matchStatus,
MFString counterPartyID,
long tradeDate,
long settlDate)
public int getMsgType()
getMsgType in interface IMessagepublic void deepCopy(TradeCapture src)
public boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(TradeCapture rhs)
compareTo in interface java.lang.Comparable<TradeCapture>public int hashCode()
hashCode in class java.lang.Objectpublic void deserializeZeroGC(ZeroGCProtoByteBuffer buffer)
deserializeZeroGC in interface IMessagepublic void serialize(ZeroGCProtoByteBuffer buffer)
public java.lang.String toString()
protected void dump(TextWriter wr)