Class Order
java.lang.Object
com.caplin.motif.fx.trading.orders.details.Order
Deprecated.
This class represents an Order. Instances of this class should be created by calling
StrategyBuilder.addOrderBuilder(int)
rather than instantiated directly.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Gets the leg field for the name of the field eg.Deprecated.Returns the fields related to this order.Deprecated.int
getLegId()
Deprecated.Returns the order's leg idgetMemo()
Deprecated.Deprecated.Returns the order's idDeprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
hasFieldChanged
(String fieldName) Deprecated.boolean
Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.toString()
Deprecated.
-
Method Details
-
getLegId
public int getLegId()Deprecated.Returns the order's leg id- Returns:
- the order's leg id
-
getOrderId
Deprecated.Returns the order's id- Returns:
- the order's id
-
getFields
Deprecated.Returns the fields related to this order.- Returns:
- the fields related to this order.
-
getEditableFields
Deprecated. -
getField
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
Deprecated. -
hasAlertTypesChanged
public boolean hasAlertTypesChanged()Deprecated. -
getAmount
Deprecated. -
hasAmountChanged
public boolean hasAmountChanged()Deprecated. -
getActivationDate
Deprecated. -
hasActivationDateChanged
public boolean hasActivationDateChanged()Deprecated. -
getExpirationDate
Deprecated. -
hasExpirationDateChanged
public boolean hasExpirationDateChanged()Deprecated. -
getAccount
Deprecated. -
hasAccountChanged
public boolean hasAccountChanged()Deprecated. -
getBenchmarkType
Deprecated. -
hasBenchmarkTypeChanged
public boolean hasBenchmarkTypeChanged()Deprecated. -
getBuySell
Deprecated. -
hasBuySellChanged
public boolean hasBuySellChanged()Deprecated. -
getDealtCurrency
Deprecated. -
hasDealtCurrencyChanged
public boolean hasDealtCurrencyChanged()Deprecated. -
getCurrencyPair
Deprecated. -
hasCurrencyPairChanged
public boolean hasCurrencyPairChanged()Deprecated. -
getExecutionType
Deprecated. -
hasExecutionTypeChanged
public boolean hasExecutionTypeChanged()Deprecated. -
getFillRate
Deprecated. -
hasFillRateChanged
public boolean hasFillRateChanged()Deprecated. -
getRemarks
Deprecated. -
hasRemarksChanged
public boolean hasRemarksChanged()Deprecated. -
getMemo
Deprecated. -
hasMemoChanged
public boolean hasMemoChanged()Deprecated. -
getPreviousOrder
Deprecated. -
hasOrderChanged
public boolean hasOrderChanged()Deprecated. -
hasOrderEditableFieldsChanged
public boolean hasOrderEditableFieldsChanged()Deprecated. -
hasFieldChanged
Deprecated. -
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-