Package velox.api.layer1.data
Class TradeInfo
java.lang.Object
velox.api.layer1.data.TradeInfo
- All Implemented Interfaces:
java.io.Serializable
public class TradeInfo
extends java.lang.Object
implements java.io.Serializable
Information about the trade
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringaggressorOrderIdaggressor for this trade, can be null if not know/not applicablebooleanisBidAggressortrue if bid was the aggressor, false if ask was the aggressorbooleanisExecutionEndtrue if this trade ends order execution chainbooleanisExecutionStarttrue if this trade starts new order execution chainbooleanisOtctrue if the trade is OTCjava.lang.StringpassiveOrderIdorder (partially) consumed by aggressor, can be null if not known/not applicable -
Constructor Summary
Constructors Constructor 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) -
Method Summary
-
Field Details
-
isOtc
public final boolean isOtctrue if the trade is OTC -
isBidAggressor
public final boolean isBidAggressortrue if bid was the aggressor, false if ask was the aggressor -
isExecutionStart
public final boolean isExecutionStarttrue if this trade starts new order execution chain -
isExecutionEnd
public final boolean isExecutionEndtrue if this trade ends order execution chain -
aggressorOrderId
public final java.lang.String aggressorOrderIdaggressor for this trade, can be null if not know/not applicable -
passiveOrderId
public final java.lang.String passiveOrderIdorder (partially) consumed by aggressor, can be null if not known/not applicable
-
-
Constructor Details
-
TradeInfo
public TradeInfo(boolean isOtc, boolean isBidAggressor) -
TradeInfo
public TradeInfo(boolean isOtc, boolean isBidAggressor, boolean isExecutionStart, boolean isExecutionEnd) -
TradeInfo
public TradeInfo(boolean isOtc, boolean isBidAggressor, boolean isExecutionStart, boolean isExecutionEnd, java.lang.String aggressorOrderId, java.lang.String passiveOrderId)
-
-
Method Details