Class Order
- java.lang.Object
-
- com.caplin.motif.fx.trading.orders.submission.Order
-
@Deprecated public class Order extends java.lang.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 orderjava.util.Set<AlertType>
getAlertTypes()
Deprecated.java.lang.String
getAmount()
Deprecated.The amount at which this order which should be executed.java.lang.String
getBenchmarkType()
Deprecated.Returns the benchmark type of the order.BuySell
getBuySell()
Deprecated.Returns theBuySell
direction of this order.java.lang.String
getCurrencyPair()
Deprecated.Returns the currency pair the amount denominatesjava.lang.String
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 orderjava.lang.String
getField(java.lang.String fieldName)
Deprecated.Returns the field value for the specified field.java.lang.String
getFillRate()
Deprecated.The target rate at which the order should fill.java.lang.String
getLegId()
Deprecated.The Leg Id as submitted by the clientjava.lang.String
getMargin()
Deprecated.The margin or mark-up submitted with this order.MonitorSide
getMonitorSide()
Deprecated.Returns aMonitorSide
direction of this order.java.lang.String
getRemarks()
Deprecated.The remarks attached to this orderjava.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getLegId
public java.lang.String getLegId()
Deprecated.The Leg Id as submitted by the client- Returns:
- the leg id.
-
getField
public java.lang.String getField(java.lang.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
-
getAlertTypes
public java.util.Set<AlertType> getAlertTypes()
Deprecated.
-
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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getCurrencyPair()
Deprecated.Returns the currency pair the amount denominates- Returns:
- The currency pair
-
getRemarks
public java.lang.String getRemarks()
Deprecated.The remarks attached to this order- Returns:
- The remarks
-
getFillRate
public java.lang.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 java.lang.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
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-