Class OrderQueuePositionUserMessage

java.lang.Object
velox.api.layer0.data.OrderQueuePositionUserMessage

@Deprecated public class OrderQueuePositionUserMessage extends Object
Deprecated.
Allows to set order position in queue, exists for compatibility with Recorder API. Will be removed in the future in favor of L2-api based solution
  • Field Details

    • orderId

      public final String orderId
      Deprecated.
    • position

      public final int position
      Deprecated.
  • Constructor Details

    • OrderQueuePositionUserMessage

      public OrderQueuePositionUserMessage(String orderId, int position)
      Deprecated.
      Record order position in the queue
      Parameters:
      orderId - order id
      position - number of shares to be executed before this order

      You can use TagsExt.QUEUE_POSITION_AUTO if you want to switch back to automatic computation or TagsExt.QUEUE_POSITION_HIDE if you want to hide order position mark regardless of settings