public interface OrderStrategy
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.
Modifier and Type | Method and Description |
---|---|
Account |
getAccount()
Returns the client account to which this order strategy should be executed for.
|
ActivationDate |
getActivationDate()
Returns the date on which the order strategy should be activated.
|
Set<AlertType> |
getAlertTypes()
Returns the set of
AlertType of the order strategy. |
List<Order> |
getChildOrders()
Returns the list of orders representing the legs of the order strategy.
|
String |
getCurrencyPair()
Returns the currency pair of the order strategy.
|
ExpirationDate |
getExpirationDate()
Returns the date on which the order strategy should expire.
|
OrderPendingAcceptResponder |
getPendingAcceptResponder()
Returns the responder for responding to events from the PendingAccept state.
|
OrderQueuedResponder |
getQueuedResponder()
Returns the responder for responding to events from the Queued state.
|
String |
getRemarks()
Returns the remarks on the order strategy.
|
String |
getRequestID()
The client generated ID of the order strategy to be used in tracking
the order in the backend trading system.
|
OrderSubmittedResponder |
getSubmittedResponder()
Returns the responder for responding to 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
StrategyType of the order strategy. |
String |
getUsername()
Returns the client username for which this order strategy will be executed for.
|
TradingSubProtocol getTradingSubProtocol()
TradingSubProtocol.NONE
for standard orders.String getRequestID()
String getUsername()
String getTOBOUser()
Account getAccount()
ActivationDate getActivationDate()
ExpirationDate getExpirationDate()
List<Order> getChildOrders()
StrategyType getType()
StrategyType
of the order strategy.Set<AlertType> getAlertTypes()
AlertType
of the order strategy.String getCurrencyPair()
String getRemarks()
OrderSubmittedResponder getSubmittedResponder()
OrderQueuedResponder getQueuedResponder()
OrderPendingAcceptResponder getPendingAcceptResponder()
Copyright © 2015 Caplin Systems.