Interface OrderStrategy
-
- All Known Implementing Classes:
IfDoneOCOStrategy
,IfDoneStrategy
,IfTimeoutStrategy
,MotifOrderStrategy
,OCOStrategy
,SingleStrategy
@Deprecated public interface OrderStrategy
Deprecated.An OrderStrategy instance encapsulates the order strategy that the client wants to execute.
If the strategy is a multi-leg order, than it contain the list of orders within it for each leg.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Account
getAccount()
Deprecated.Returns the client account to which this order strategy should be executed for.ActivationDate
getActivationDate()
Deprecated.Returns the date on which the order strategy should be activated.java.util.Set<AlertType>
getAlertTypes()
Deprecated.Returns the set ofAlertType
of the order strategy.java.util.List<Order>
getChildOrders()
Deprecated.Returns the list of orders representing the legs of the order strategy.java.lang.String
getCurrencyPair()
Deprecated.Returns the currency pair of the order strategy.ExpirationDate
getExpirationDate()
Deprecated.Returns the date on which the order strategy should expire.OrderPendingAcceptResponder
getPendingAcceptResponder()
Deprecated.Returns the responder for responding to events from the PendingAccept state.OrderQueuedResponder
getQueuedResponder()
Deprecated.Returns the responder for responding to events from the Queued state.java.lang.String
getRemarks()
Deprecated.Returns the remarks on the order strategy.java.lang.String
getRequestID()
Deprecated.The client generated ID of the order strategy to be used in tracking the order in the backend trading system.OrderSubmittedResponder
getSubmittedResponder()
Deprecated.Returns the responder for responding to events from the Submitted state.java.lang.String
getTOBOUser()
Deprecated.Returns the trade on behalf of user.java.lang.String
getTradingSubProtocol()
Deprecated.The trading sub protocol, used to determine small variations of OrderStrategy, should beFXTradingSubProtocol.NONE
for standard orders.StrategyType
getType()
Deprecated.Returns theStrategyType
of the order strategy.java.lang.String
getUsername()
Deprecated.Returns the client username for which this order strategy will be executed for.
-
-
-
Method Detail
-
getTradingSubProtocol
java.lang.String getTradingSubProtocol()
Deprecated.The trading sub protocol, used to determine small variations of OrderStrategy, should beFXTradingSubProtocol.NONE
for standard orders.- Returns:
- The trading sub protocol
-
getRequestID
java.lang.String getRequestID()
Deprecated.The client generated ID of the order strategy to be used in tracking the order in the backend trading system.- Returns:
- The client generated ID.
-
getUsername
java.lang.String getUsername()
Deprecated.Returns the client username for which this order strategy will be executed for.- Returns:
- The client username.
-
getTOBOUser
java.lang.String getTOBOUser()
Deprecated.Returns the trade on behalf of user.- Returns:
- The trade on behalf of user.
-
getAccount
Account getAccount()
Deprecated.Returns the client account to which this order strategy should be executed for.- Returns:
- The client account.
-
getActivationDate
ActivationDate getActivationDate()
Deprecated.Returns the date on which the order strategy should be activated.- Returns:
- The date on which the order strategy should be activated.
-
getExpirationDate
ExpirationDate getExpirationDate()
Deprecated.Returns the date on which the order strategy should expire.- Returns:
- The expiration date.
-
getChildOrders
java.util.List<Order> getChildOrders()
Deprecated.Returns the list of orders representing the legs of the order strategy.- Returns:
- The list of orders strategy.
-
getType
StrategyType getType()
Deprecated.Returns theStrategyType
of the order strategy.- Returns:
- The strategy type of the order strategy.
-
getAlertTypes
java.util.Set<AlertType> getAlertTypes()
Deprecated.Returns the set ofAlertType
of the order strategy.- Returns:
- The set of alert types.
-
getCurrencyPair
java.lang.String getCurrencyPair()
Deprecated.Returns the currency pair of the order strategy.- Returns:
- The currency pair.
-
getRemarks
java.lang.String getRemarks()
Deprecated.Returns the remarks on the order strategy.- Returns:
- The remarks.
-
getSubmittedResponder
OrderSubmittedResponder getSubmittedResponder()
Deprecated.Returns the responder for responding to events from the Submitted state.- Returns:
- The Submitted Responder
-
getQueuedResponder
OrderQueuedResponder getQueuedResponder()
Deprecated.Returns the responder for responding to events from the Queued state.- Returns:
- The Queued Responder.
-
getPendingAcceptResponder
OrderPendingAcceptResponder getPendingAcceptResponder()
Deprecated.Returns the responder for responding to events from the PendingAccept state.- Returns:
- The Pending Activation.
-
-