Interface OrderStrategy
- All Known Implementing Classes:
IfDoneOCOStrategy
,IfDoneStrategy
,IfTimeoutStrategy
,MotifOrderStrategy
,OCOStrategy
,SingleStrategy
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
Modifier and TypeMethodDescriptionDeprecated.Returns the client account to which this order strategy should be executed for.Deprecated.Returns the date on which the order strategy should be activated.Deprecated.Returns the set ofAlertType
of the order strategy.Deprecated.Returns the list of orders representing the legs of the order strategy.Deprecated.Returns the currency pair of the order strategy.Deprecated.Returns the date on which the order strategy should expire.Deprecated.Returns the responder for responding to events from the PendingAccept state.Deprecated.Returns the responder for responding to events from the Queued state.Deprecated.Returns the remarks on the order strategy.Deprecated.The client generated ID of the order strategy to be used in tracking the order in the backend trading system.Deprecated.Returns the responder for responding to events from the Submitted state.Deprecated.Returns the trade on behalf of user.Deprecated.The trading sub protocol, used to determine small variations of OrderStrategy, should beFXTradingSubProtocol.NONE
for standard orders.getType()
Deprecated.Returns theStrategyType
of the order strategy.Deprecated.Returns the client username for which this order strategy will be executed for.
-
Method Details
-
getTradingSubProtocol
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
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
String getUsername()Deprecated.Returns the client username for which this order strategy will be executed for.- Returns:
- The client username.
-
getTOBOUser
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
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
Deprecated.Returns the set ofAlertType
of the order strategy.- Returns:
- The set of alert types.
-
getCurrencyPair
String getCurrencyPair()Deprecated.Returns the currency pair of the order strategy.- Returns:
- The currency pair.
-
getRemarks
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.
-