Package velox.api.layer1.data
Class OrderInfo
java.lang.Object
velox.api.layer1.data.OrderInfo
- All Implemented Interfaces:
Serializable,MultiAccountAware
- Direct Known Subclasses:
OrderInfoUpdate
Cumulative information about the order
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringAccount id to identify which account this order info belongs to.final doublefinal Stringfinal booleanfinal OrderDurationfinal Stringfinal intfinal Stringfinal booleanfinal booleanOrder can be duplicated in case of crosstrading or alias dublicationfinal booleanfinal doublefinal longfinal Stringfinal OrderStatusfinal doublefinal booleanfinal OrderTypefinal int -
Constructor Summary
ConstructorsConstructorDescriptionOrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime) Deprecated.OrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime, boolean isSimulated) Deprecated.OrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime, boolean isSimulated, boolean isDuplicate) Deprecated. -
Method Summary
-
Field Details
-
instrumentAlias
-
orderId
-
isBuy
public final boolean isBuy -
type
-
clientId
-
exchangeId
-
doNotIncrease
public final boolean doNotIncrease -
filled
public final int filled -
unfilled
public final int unfilled -
averageFillPrice
public final double averageFillPrice -
duration
-
status
-
limitPrice
public final double limitPrice -
stopPrice
public final double stopPrice -
stopTriggered
public final boolean stopTriggered -
modificationUtcTime
public final long modificationUtcTime -
isSimulated
public final boolean isSimulated -
isDuplicate
public final boolean isDuplicateOrder can be duplicated in case of crosstrading or alias dublication -
accountId
Account id to identify which account this order info belongs to. Null if there is no multi-account support (only single account is supported by the data provider). Should not mix nulls and specific account in the same data provider.
-
-
Constructor Details
-
OrderInfo
@Deprecated public OrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime) Deprecated.Use builder instead -
OrderInfo
@Deprecated public OrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime, boolean isSimulated) Deprecated.Use builder instead -
OrderInfo
@Deprecated public OrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime, boolean isSimulated, boolean isDuplicate) Deprecated.Use builder instead
-
-
Method Details
-
getTradingAccountId
- Specified by:
getTradingAccountIdin interfaceMultiAccountAware
-