Class Order


  • @Deprecated
    public class Order
    extends Object
    Deprecated.
    An object representing one of the legs of a multi-order strategy.
    • Method Detail

      • getLegId

        public String getLegId()
        Deprecated.
        The Leg Id as submitted by the client
        Returns:
        the leg id.
      • getField

        public String getField​(String fieldName)
        Deprecated.
        Returns the field value for the specified field. Note that L{d}_ prefix is not required in the specified fieldName parameter.
        Parameters:
        fieldName - The fieldName without the L{d} prefix.
        Returns:
        The value of the field.
      • getExecutionType

        public ExecutionType getExecutionType()
        Deprecated.
        Returns the execution type of the order.
        Returns:
        The execution type.
      • getAccount

        public Account getAccount()
        Deprecated.
        Returns the account for this order
        Returns:
        The account
      • getAlertTypes

        public Set<AlertType> getAlertTypes()
        Deprecated.
      • getActivationDate

        public ActivationDate getActivationDate()
        Deprecated.
        Returns the activation date of the order
        Returns:
        The activation date
      • getExpirationDate

        public ExpirationDate getExpirationDate()
        Deprecated.
        Returns the expiration date of the order
        Returns:
        The expiration date
      • getDealtCurrency

        public String getDealtCurrency()
        Deprecated.
        Returns the currency that the amount denominates.
        Returns:
        The dealt currency.
      • getBuySell

        public BuySell getBuySell()
        Deprecated.
        Returns the BuySell direction of this order.
        Returns:
        The BuySell direction of this order
      • getBenchmarkType

        public String getBenchmarkType()
        Deprecated.
        Returns the benchmark type of the order.
        Returns:
        The benchmark type of the order if this is a benchmark order, otherwise null.
      • getAmount

        public String getAmount()
        Deprecated.
        The amount at which this order which should be executed.
        Returns:
        The amount, which may contain decimals. This value is specified in the currency returned by the getDealtCurrency() method.
      • getCurrencyPair

        public String getCurrencyPair()
        Deprecated.
        Returns the currency pair the amount denominates
        Returns:
        The currency pair
      • getRemarks

        public String getRemarks()
        Deprecated.
        The remarks attached to this order
        Returns:
        The remarks
      • getFillRate

        public String getFillRate()
        Deprecated.
        The target rate at which the order should fill.
        Returns:
        The target rate, which may contain decimals, if there is a target rate for the order. If this is a market order, this method returns null.
      • getMargin

        public String getMargin()
        Deprecated.
        The margin or mark-up submitted with this order.
        Returns:
        A string representing a number or null if the value is unknown