public class OCOStrategyWrapper extends java.lang.Object implements StrategyWrapper
Constructor and Description |
---|
OCOStrategyWrapper(OCOStrategy ocoStrategy) |
OCOStrategyWrapper(Strategy strategy) |
OCOStrategyWrapper(Strategy strategy,
OrderWrapperFactory orderWrapperFactory) |
Modifier and Type | Method and Description |
---|---|
Account |
getAccount() |
ActivationDate |
getActivationDate() |
java.util.Set<AlertType> |
getAlertTypes() |
java.util.List<OrderWrapper> |
getChildOrders() |
java.lang.String |
getCurrencyPair() |
Strategy |
getEditStrategy() |
ExpirationDate |
getExpirationDate() |
java.lang.String |
getRemarks() |
java.lang.String |
getRequestID() |
java.lang.String |
getSpotRateDPS() |
OrderWrapper |
getStopLossOrder() |
MotifOrderStrategy |
getSubmissionStrategy() |
OrderWrapper |
getTakeProfitOrder() |
java.lang.String |
getTOBOUsername() |
java.util.Optional<java.lang.String> |
getTradingSubProtocol() |
StrategyType |
getType() |
java.lang.String |
getUsername() |
boolean |
isEditOrder() |
public OCOStrategyWrapper(Strategy strategy)
public OCOStrategyWrapper(OCOStrategy ocoStrategy)
public OCOStrategyWrapper(Strategy strategy, OrderWrapperFactory orderWrapperFactory)
public MotifOrderStrategy getSubmissionStrategy()
getSubmissionStrategy
in interface StrategyWrapper
public Strategy getEditStrategy()
getEditStrategy
in interface StrategyWrapper
public java.lang.String getRequestID()
getRequestID
in interface StrategyWrapper
public java.lang.String getCurrencyPair()
getCurrencyPair
in interface StrategyWrapper
public java.lang.String getUsername()
getUsername
in interface StrategyWrapper
public java.lang.String getTOBOUsername()
getTOBOUsername
in interface StrategyWrapper
public java.util.Optional<java.lang.String> getTradingSubProtocol()
getTradingSubProtocol
in interface StrategyWrapper
public Account getAccount()
getAccount
in interface StrategyWrapper
public java.util.Set<AlertType> getAlertTypes()
getAlertTypes
in interface StrategyWrapper
public ActivationDate getActivationDate()
getActivationDate
in interface StrategyWrapper
public ExpirationDate getExpirationDate()
getExpirationDate
in interface StrategyWrapper
public StrategyType getType()
getType
in interface StrategyWrapper
public java.util.List<OrderWrapper> getChildOrders()
getChildOrders
in interface StrategyWrapper
public java.lang.String getRemarks()
getRemarks
in interface StrategyWrapper
public java.lang.String getSpotRateDPS()
getSpotRateDPS
in interface StrategyWrapper
public boolean isEditOrder()
isEditOrder
in interface StrategyWrapper
public OrderWrapper getTakeProfitOrder()
public OrderWrapper getStopLossOrder()