java.lang.Object
com.caplin.motif.fx.trading.orders.details.Order

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

    • getLegId

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

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

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

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

      public String getField(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 Set<AlertType> getAlertTypes()
      Deprecated.
    • hasAlertTypesChanged

      public boolean hasAlertTypesChanged()
      Deprecated.
    • getAmount

      public 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 String getBenchmarkType()
      Deprecated.
    • hasBenchmarkTypeChanged

      public boolean hasBenchmarkTypeChanged()
      Deprecated.
    • getBuySell

      public BuySell getBuySell()
      Deprecated.
    • hasBuySellChanged

      public boolean hasBuySellChanged()
      Deprecated.
    • getDealtCurrency

      public String getDealtCurrency()
      Deprecated.
    • hasDealtCurrencyChanged

      public boolean hasDealtCurrencyChanged()
      Deprecated.
    • getCurrencyPair

      public String getCurrencyPair()
      Deprecated.
    • hasCurrencyPairChanged

      public boolean hasCurrencyPairChanged()
      Deprecated.
    • getExecutionType

      public ExecutionType getExecutionType()
      Deprecated.
    • hasExecutionTypeChanged

      public boolean hasExecutionTypeChanged()
      Deprecated.
    • getFillRate

      public String getFillRate()
      Deprecated.
    • hasFillRateChanged

      public boolean hasFillRateChanged()
      Deprecated.
    • getRemarks

      public String getRemarks()
      Deprecated.
    • hasRemarksChanged

      public boolean hasRemarksChanged()
      Deprecated.
    • getMemo

      public 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(String fieldName)
      Deprecated.
    • toString

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

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

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