Class SingleOrderSendParameters

java.lang.Object
velox.api.layer1.data.SingleOrderSendParameters
All Implemented Interfaces:
MultiAccountAware, OrderSendParameters
Direct Known Subclasses:
SimpleOrderSendParameters

public class SingleOrderSendParameters extends Object implements OrderSendParameters, MultiAccountAware
Base class for sending a single order
  • Field Details

    • alias

      public final String alias
      Alias of the instrument
    • isBuy

      public final boolean isBuy
      true for buy order, false for sell order
    • size

      public final int size
      Order size
    • duration

      public final OrderDuration duration
    • clientId

      public final String clientId

      Allows to match order submission request to a response.

      Randomly generated id 24 characters long - this allows to fit it into most tag fields

    • accountId

      public final String accountId
      Account id to identify which account this order parameters belongs to. Should be null if there is no multi-account support from the provider side. Account id should be specified if there is multi-account support and the order should be sent to a specific account. If account id is set to null, but provider supports multi-account, the order will be sent to the primary account.
  • Constructor Details

  • Method Details