Class OrderInfo

java.lang.Object
velox.api.layer1.data.OrderInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OrderInfoUpdate

public class OrderInfo extends Object implements Serializable
Cumulative information about the order
See Also:
  • Field Details

    • instrumentAlias

      public final String instrumentAlias
    • orderId

      public final String orderId
    • isBuy

      public final boolean isBuy
    • type

      public final OrderType type
    • clientId

      public final String clientId
    • doNotIncrease

      public final boolean doNotIncrease
    • filled

      public final int filled
    • unfilled

      public final int unfilled
    • averageFillPrice

      public final double averageFillPrice
    • duration

      public final OrderDuration duration
    • status

      public final OrderStatus 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 isDuplicate
      Order can be duplicated in case of crosstrading
  • Constructor Details

    • OrderInfo

      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)
    • OrderInfo

      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)
    • OrderInfo

      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)