Class Order
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.submission.Order
-
@Deprecated public class Order extends Object
Deprecated.An object representing one of the legs of a multi-order strategy.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Account
getAccount()
Deprecated.Returns the account for this orderActivationDate
getActivationDate()
Deprecated.Returns the activation date of the orderSet<AlertType>
getAlertTypes()
Deprecated.String
getAmount()
Deprecated.The amount at which this order which should be executed.String
getBenchmarkType()
Deprecated.Returns the benchmark type of the order.BuySell
getBuySell()
Deprecated.Returns theBuySell
direction of this order.String
getCurrencyPair()
Deprecated.Returns the currency pair the amount denominatesString
getDealtCurrency()
Deprecated.Returns the currency that the amount denominates.ExecutionType
getExecutionType()
Deprecated.Returns the execution type of the order.ExpirationDate
getExpirationDate()
Deprecated.Returns the expiration date of the orderString
getField(String fieldName)
Deprecated.Returns the field value for the specified field.String
getFillRate()
Deprecated.The target rate at which the order should fill.String
getLegId()
Deprecated.The Leg Id as submitted by the clientString
getMargin()
Deprecated.The margin or mark-up submitted with this order.MonitorSide
getMonitorSide()
Deprecated.Returns aMonitorSide
direction of this order.String
getRemarks()
Deprecated.The remarks attached to this orderString
toString()
Deprecated.
-
-
-
Method Detail
-
getLegId
public String getLegId()
Deprecated.The Leg Id as submitted by the client- Returns:
- the leg id.
-
getField
public String getField(String fieldName)
Deprecated.Returns the field value for the specified field. Note that L{d}_ prefix is not required in the specifiedfieldName
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
-
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 String getDealtCurrency()
Deprecated.Returns the currency that the amount denominates.- Returns:
- The dealt currency.
-
getBuySell
public BuySell getBuySell()
Deprecated.Returns theBuySell
direction of this order.- Returns:
- The
BuySell
direction of this order
-
getMonitorSide
public MonitorSide getMonitorSide()
Deprecated.Returns aMonitorSide
direction of this order.- Returns:
- The
MonitorSide
direction of this order
-
getBenchmarkType
public 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 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 String getCurrencyPair()
Deprecated.Returns the currency pair the amount denominates- Returns:
- The currency pair
-
getRemarks
public String getRemarks()
Deprecated.The remarks attached to this order- Returns:
- The remarks
-
getFillRate
public 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 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
-
-