public abstract class MotifOrderStrategy extends MotifTrade implements OrderStrategy
Modifier and Type | Field and Description |
---|---|
protected List<Order> |
orders |
trade
Modifier and Type | Method and Description |
---|---|
Account |
getAccount()
Returns the account that the order should be executed against.
|
ActivationDate |
getActivationDate()
Returns the date which specifies when the order should activate.
|
Set<AlertType> |
getAlertTypes()
Returns a list of alert types that should be fired during the order workflow,
for example, fills, partial fills, cancelations etc.
|
List<Order> |
getChildOrders()
Returns a list of orders that this strategy contains.
|
String |
getCurrencyPair()
Returns the currency pair that this strategy should be executed for.
|
ExpirationDate |
getExpirationDate()
Returns the date which specifies when the order should expire.
|
OrderPendingAcceptResponder |
getPendingAcceptResponder()
Returns the Responder responsible for sending server events from
the PendingAccept state.
|
OrderQueuedResponder |
getQueuedResponder()
Returns the Responder responsible for sending server events from
the Queued state.
|
String |
getRemarks()
Returns the remarks text which is a free text area within the order ticket.
|
String |
getSpotRateDPS() |
OrderSubmittedResponder |
getSubmittedResponder()
Returns the Responder responsible for sending server events from
the Submitted state.
|
String |
getTOBOUser()
Returns the trade on behalf of user.
|
TradingSubProtocol |
getTradingSubProtocol()
The trading sub protocol, used to determine small variations of OrderStrategy,
should be
TradingSubProtocol.NONE for standard orders. |
StrategyType |
getType()
Returns the type of strategy that should be executed.
|
String |
toString() |
getCurrentState, getField, getRequestID, getTradeChannelSubject, getUsername
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestID, getUsername
public TradingSubProtocol getTradingSubProtocol()
OrderStrategy
TradingSubProtocol.NONE
for standard orders.getTradingSubProtocol
in interface OrderStrategy
public String getTOBOUser()
OrderStrategy
getTOBOUser
in interface OrderStrategy
public Account getAccount()
getAccount
in interface OrderStrategy
public ActivationDate getActivationDate()
getActivationDate
in interface OrderStrategy
public ExpirationDate getExpirationDate()
getExpirationDate
in interface OrderStrategy
public OrderSubmittedResponder getSubmittedResponder()
getSubmittedResponder
in interface OrderStrategy
public OrderQueuedResponder getQueuedResponder()
getQueuedResponder
in interface OrderStrategy
public OrderPendingAcceptResponder getPendingAcceptResponder()
getPendingAcceptResponder
in interface OrderStrategy
public List<Order> getChildOrders()
getChildOrders
in interface OrderStrategy
public StrategyType getType()
getType
in interface OrderStrategy
public Set<AlertType> getAlertTypes()
getAlertTypes
in interface OrderStrategy
public String getCurrencyPair()
getCurrencyPair
in interface OrderStrategy
public String getRemarks()
getRemarks
in interface OrderStrategy
public String getSpotRateDPS()
public String toString()
toString
in class MotifTrade
Copyright © 2015 Caplin Systems.