Package velox.api.layer1.data
Class TradeInfo
java.lang.Object
velox.api.layer1.data.TradeInfo
- All Implemented Interfaces:
Serializable
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
public class TradeInfo
extends Object
implements Serializable
Information about the trade
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable Stringaggressor for this trade, can be null if not know/not applicablefinal booleantrue if bid was the aggressor, false if ask was the aggressorfinal booleantrue if this trade ends order execution chainfinal booleantrue if this trade starts new order execution chainfinal booleantrue if the trade is OTCfinal @Nullable Stringorder (partially) consumed by aggressor, can be null if not known/not applicable -
Constructor Summary
ConstructorsConstructorDescriptionTradeInfo(boolean isOtc, boolean isBidAggressor) TradeInfo(boolean isOtc, boolean isBidAggressor, boolean isExecutionStart, boolean isExecutionEnd) TradeInfo(boolean isOtc, boolean isBidAggressor, boolean isExecutionStart, boolean isExecutionEnd, @Nullable String aggressorOrderId, @Nullable 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
aggressor for this trade, can be null if not know/not applicable -
passiveOrderId
order (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
-
-
Method Details