Class Order


  • @Deprecated
    public class Order
    extends java.lang.Object
    Deprecated.
    This class represents an Order. Instances of this class should be created by calling StrategyBuilder.addOrderBuilder(int) rather than instantiated directly.
    • Method Detail

      • getLegId

        public int getLegId()
        Deprecated.
        Returns the order's leg id
        Returns:
        the order's leg id
      • getOrderId

        public java.lang.String getOrderId()
        Deprecated.
        Returns the order's id
        Returns:
        the order's id
      • getFields

        public java.util.Map<java.lang.String,​java.lang.String> getFields()
        Deprecated.
        Returns the fields related to this order.
        Returns:
        the fields related to this order.
      • getEditableFields

        public java.util.Set<java.lang.String> getEditableFields()
        Deprecated.
      • getField

        public java.lang.String getField​(java.lang.String fieldName)
        Deprecated.
        Gets the leg field for the name of the field eg.

        fieldName Account will return the field L1_Account if this order is the first leg of the strategy.

        Parameters:
        fieldName - the name of the field without the leg prefix
        Returns:
        the value of the field
      • getAlertTypes

        public java.util.Set<AlertType> getAlertTypes()
        Deprecated.
      • hasAlertTypesChanged

        public boolean hasAlertTypesChanged()
        Deprecated.
      • getAmount

        public java.lang.String getAmount()
        Deprecated.
      • hasAmountChanged

        public boolean hasAmountChanged()
        Deprecated.
      • getActivationDate

        public ActivationDate getActivationDate()
        Deprecated.
      • hasActivationDateChanged

        public boolean hasActivationDateChanged()
        Deprecated.
      • getExpirationDate

        public ExpirationDate getExpirationDate()
        Deprecated.
      • hasExpirationDateChanged

        public boolean hasExpirationDateChanged()
        Deprecated.
      • getAccount

        public Account getAccount()
        Deprecated.
      • hasAccountChanged

        public boolean hasAccountChanged()
        Deprecated.
      • getBenchmarkType

        public java.lang.String getBenchmarkType()
        Deprecated.
      • hasBenchmarkTypeChanged

        public boolean hasBenchmarkTypeChanged()
        Deprecated.
      • getBuySell

        public BuySell getBuySell()
        Deprecated.
      • hasBuySellChanged

        public boolean hasBuySellChanged()
        Deprecated.
      • getDealtCurrency

        public java.lang.String getDealtCurrency()
        Deprecated.
      • hasDealtCurrencyChanged

        public boolean hasDealtCurrencyChanged()
        Deprecated.
      • getCurrencyPair

        public java.lang.String getCurrencyPair()
        Deprecated.
      • hasCurrencyPairChanged

        public boolean hasCurrencyPairChanged()
        Deprecated.
      • getExecutionType

        public ExecutionType getExecutionType()
        Deprecated.
      • hasExecutionTypeChanged

        public boolean hasExecutionTypeChanged()
        Deprecated.
      • getFillRate

        public java.lang.String getFillRate()
        Deprecated.
      • hasFillRateChanged

        public boolean hasFillRateChanged()
        Deprecated.
      • getRemarks

        public java.lang.String getRemarks()
        Deprecated.
      • hasRemarksChanged

        public boolean hasRemarksChanged()
        Deprecated.
      • getMemo

        public java.lang.String getMemo()
        Deprecated.
      • hasMemoChanged

        public boolean hasMemoChanged()
        Deprecated.
      • getPreviousOrder

        public Order getPreviousOrder()
        Deprecated.
      • hasOrderChanged

        public boolean hasOrderChanged()
        Deprecated.
      • hasOrderEditableFieldsChanged

        public boolean hasOrderEditableFieldsChanged()
        Deprecated.
      • hasFieldChanged

        public boolean hasFieldChanged​(java.lang.String fieldName)
        Deprecated.
      • toString

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

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object