Package velox.api.layer1.data
Class ExecutionInfo
java.lang.Object
velox.api.layer1.data.ExecutionInfo
- All Implemented Interfaces:
java.io.Serializable
public class ExecutionInfo
extends java.lang.Object
implements java.io.Serializable
Information about order execution
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
executionId
Execution IDboolean
isSimulated
True if execution is simulated by Bookmap.java.lang.String
orderId
double
price
Price where execution happenedint
size
Size of the executionlong
time
Time when execution happened -
Constructor Summary
Constructors Constructor Description ExecutionInfo(java.lang.String orderId, int size, double price, java.lang.String executionId, long time)
ExecutionInfo(java.lang.String orderId, int size, double price, java.lang.String executionId, long time, boolean isSimulated)
ExecutionInfo(ExecutionInfo executionInfo)
-
Method Summary
Modifier and Type Method Description ExecutionInfoBuilder
toBuilder()
java.lang.String
toString()
-
Field Details
-
orderId
public final java.lang.String orderId -
size
public final int sizeSize of the execution -
price
public final double pricePrice where execution happened -
executionId
public final java.lang.String executionIdExecution ID -
time
public final long timeTime when execution happened -
isSimulated
public final boolean isSimulatedTrue if execution is simulated by Bookmap.
-
-
Constructor Details
-
ExecutionInfo
public ExecutionInfo(java.lang.String orderId, int size, double price, java.lang.String executionId, long time) -
ExecutionInfo
public ExecutionInfo(java.lang.String orderId, int size, double price, java.lang.String executionId, long time, boolean isSimulated) -
ExecutionInfo
-
-
Method Details