Class Order


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

      • getLegId

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

        public java.lang.String getField​(java.lang.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 java.util.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getCurrencyPair()
        Deprecated.
        Returns the currency pair the amount denominates
        Returns:
        The currency pair
      • getRemarks

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

        public java.lang.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 java.lang.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
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object