Class OrderInfo

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

public class OrderInfo extends Object implements Serializable, MultiAccountAware
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
    • exchangeId

      public final String exchangeId
    • 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 or alias dublication
    • accountId

      public final String 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