Class Strategy
java.lang.Object
com.caplin.motif.fx.trading.orders.details.Strategy
Deprecated.
This class represents a Strategy which will consist of one or more orders. Instances of this class should be created by calling
StrategyBuilder.build()
rather than instantiated directly.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Returns the value of the given field.Deprecated.Returns the fields directly related to this strategy.getMemo()
Deprecated.getOrderByLegID
(int legID) Deprecated.Returns the order associated with this strategy that has the provided leg ID.Deprecated.Returns the set of orders associated with this strategy.Deprecated.Deprecated.Deprecated.Deprecated.getType()
Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
hasFieldChanged
(String fieldName) Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.toString()
Deprecated.
-
Method Details
-
getField
Deprecated.Returns the value of the given field.- Parameters:
field
- The name of the field to retrieve the value for.- Returns:
- the value of the given field.
-
getFields
Deprecated.Returns the fields directly related to this strategy.- Returns:
- the fields directly related to this strategy.
-
getOrders
Deprecated.Returns the set of orders associated with this strategy.- Returns:
- A map of orders associated with this strategy.
- See Also:
-
getOrderByLegID
Deprecated.Returns the order associated with this strategy that has the provided leg ID.- Parameters:
legID
- The leg ID to use for finding the order.- Returns:
- The order with the provided leg ID, or null if no such order can be found.
- See Also:
-
getRequestID
Deprecated. -
hasRequestIDChanged
public boolean hasRequestIDChanged()Deprecated. -
getUsername
Deprecated. -
hasUsernameChanged
public boolean hasUsernameChanged()Deprecated. -
getTOBOUser
Deprecated. -
getAccount
Deprecated. -
hasAccountChanged
public boolean hasAccountChanged()Deprecated. -
getCurrencyPair
Deprecated. -
hasCurrencyPairChanged
public boolean hasCurrencyPairChanged()Deprecated. -
getActivationDate
Deprecated. -
hasActivationDateChanged
public boolean hasActivationDateChanged()Deprecated. -
getExpirationDate
Deprecated. -
hasExpirationDateChanged
public boolean hasExpirationDateChanged()Deprecated. -
getType
Deprecated. -
hasTypeChanged
public boolean hasTypeChanged()Deprecated. -
getAlertTypes
Deprecated. -
hasAlertTypesChanged
public boolean hasAlertTypesChanged()Deprecated. -
getRemarks
Deprecated. -
hasRemarksChanged
public boolean hasRemarksChanged()Deprecated. -
getMemo
Deprecated. -
hasMemoChanged
public boolean hasMemoChanged()Deprecated. -
hasStrategyChanged
public boolean hasStrategyChanged()Deprecated. -
hasStrategyEditableFieldsChanged
public boolean hasStrategyEditableFieldsChanged()Deprecated. -
getPreviousStrategy
Deprecated. -
hasFieldChanged
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-