Class MotifOrderStrategy
java.lang.Object
com.caplin.motif.UserTrade
com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy
- All Implemented Interfaces:
OrderStrategy
- Direct Known Subclasses:
IfDoneOCOStrategy
,IfDoneStrategy
,IfTimeoutStrategy
,OCOStrategy
,SingleStrategy
Deprecated.
Base Order Strategy class.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the account that the order should be executed against.Deprecated.Returns the date which specifies when the order should activate.Deprecated.Returns a list of alert types that should be fired during the order workflow, for example, fills, partial fills, cancelations etc.Deprecated.Returns a list of orders that this strategy contains.Deprecated.Returns the currency pair that this strategy should be executed for.Deprecated.Returns the date which specifies when the order should expire.Deprecated.Returns the Responder responsible for sending server events from the PendingAccept state.Deprecated.Returns the Responder responsible for sending server events from the Queued state.Deprecated.Returns the remarks text which is a free text area within the order ticket.Deprecated.Deprecated.Returns the Responder responsible for sending server 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 the type of strategy that should be executed.toString()
Deprecated.Methods inherited from class com.caplin.motif.UserTrade
getBackingTrade, getExecutorService, getRequestID, getUsername
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.caplin.motif.fx.trading.orders.submission.OrderStrategy
getRequestID, getUsername
-
Field Details
-
orders
Deprecated.
-
-
Method Details
-
getTradingSubProtocol
Deprecated.Description copied from interface:OrderStrategy
The trading sub protocol, used to determine small variations of OrderStrategy, should beFXTradingSubProtocol.NONE
for standard orders.- Specified by:
getTradingSubProtocol
in interfaceOrderStrategy
- Returns:
- The trading sub protocol
-
getTOBOUser
Deprecated.Description copied from interface:OrderStrategy
Returns the trade on behalf of user.- Specified by:
getTOBOUser
in interfaceOrderStrategy
- Returns:
- The trade on behalf of user.
-
getAccount
Deprecated.Returns the account that the order should be executed against.- Specified by:
getAccount
in interfaceOrderStrategy
- Returns:
- The account
-
getActivationDate
Deprecated.Returns the date which specifies when the order should activate.This will be GFA if the order should activate immediately.
- Specified by:
getActivationDate
in interfaceOrderStrategy
- Returns:
- The activation date.
-
getExpirationDate
Deprecated.Returns the date which specifies when the order should expire.This will be GTC if the order should not expire unless it is explicitly canceled.
- Specified by:
getExpirationDate
in interfaceOrderStrategy
- Returns:
- The expire date.
-
getSubmittedResponder
Deprecated.Returns the Responder responsible for sending server events from the Submitted state.- Specified by:
getSubmittedResponder
in interfaceOrderStrategy
- Returns:
- The Submitted Responder
-
getQueuedResponder
Deprecated.Returns the Responder responsible for sending server events from the Queued state.- Specified by:
getQueuedResponder
in interfaceOrderStrategy
- Returns:
- The Queued Responder
-
getPendingAcceptResponder
Deprecated.Returns the Responder responsible for sending server events from the PendingAccept state.- Specified by:
getPendingAcceptResponder
in interfaceOrderStrategy
- Returns:
- The PendingAccept Responder
-
getChildOrders
Deprecated.Returns a list of orders that this strategy contains.- Specified by:
getChildOrders
in interfaceOrderStrategy
- Returns:
- The list of orders.
-
getType
Deprecated.Returns the type of strategy that should be executed.- Specified by:
getType
in interfaceOrderStrategy
- Returns:
- The list strategy.
-
getAlertTypes
Deprecated.Returns a list of alert types that should be fired during the order workflow, for example, fills, partial fills, cancelations etc.- Specified by:
getAlertTypes
in interfaceOrderStrategy
- Returns:
- The alert types.
-
getCurrencyPair
Deprecated.Returns the currency pair that this strategy should be executed for.- Specified by:
getCurrencyPair
in interfaceOrderStrategy
- Returns:
- The currency pair
-
getRemarks
Deprecated.Returns the remarks text which is a free text area within the order ticket.- Specified by:
getRemarks
in interfaceOrderStrategy
- Returns:
- The remarks text.
-
getSpotRateDPS
Deprecated. -
toString
Deprecated.
-