Package com.longbridge.trade
Class ReplaceAttachedParams
- java.lang.Object
-
- com.longbridge.trade.ReplaceAttachedParams
-
public class ReplaceAttachedParams extends Object
Attached order parameters for replace order
-
-
Constructor Summary
Constructors Constructor Description ReplaceAttachedParams(AttachedOrderType attachedOrderType)
-
Method Summary
-
-
-
Constructor Detail
-
ReplaceAttachedParams
public ReplaceAttachedParams(AttachedOrderType attachedOrderType)
-
-
Method Detail
-
getAttachedOrderType
public AttachedOrderType getAttachedOrderType()
-
setProfitTakerPrice
public ReplaceAttachedParams setProfitTakerPrice(BigDecimal v)
-
getProfitTakerPrice
public BigDecimal getProfitTakerPrice()
-
setStopLossPrice
public ReplaceAttachedParams setStopLossPrice(BigDecimal v)
-
getStopLossPrice
public BigDecimal getStopLossPrice()
-
setTimeInForce
public ReplaceAttachedParams setTimeInForce(TimeInForceType v)
-
getTimeInForce
public TimeInForceType getTimeInForce()
-
setExpireTime
public ReplaceAttachedParams setExpireTime(long v)
-
getExpireTime
public Long getExpireTime()
-
setActivateOrderType
public ReplaceAttachedParams setActivateOrderType(OrderType v)
-
getActivateOrderType
public OrderType getActivateOrderType()
-
setProfitTakerSubmitPrice
public ReplaceAttachedParams setProfitTakerSubmitPrice(BigDecimal v)
-
getProfitTakerSubmitPrice
public BigDecimal getProfitTakerSubmitPrice()
-
setStopLossSubmitPrice
public ReplaceAttachedParams setStopLossSubmitPrice(BigDecimal v)
-
getStopLossSubmitPrice
public BigDecimal getStopLossSubmitPrice()
-
setActivateRth
public ReplaceAttachedParams setActivateRth(OutsideRTH v)
-
getActivateRth
public OutsideRTH getActivateRth()
-
setProfitTakerId
public ReplaceAttachedParams setProfitTakerId(long v)
-
getProfitTakerId
public Long getProfitTakerId()
-
setStopLossId
public ReplaceAttachedParams setStopLossId(long v)
-
getStopLossId
public Long getStopLossId()
-
setCancelAllAttached
public ReplaceAttachedParams setCancelAllAttached(boolean v)
-
getCancelAllAttached
public Boolean getCancelAllAttached()
-
setMainId
public ReplaceAttachedParams setMainId(long v)
-
getMainId
public Long getMainId()
-
setQuantity
public ReplaceAttachedParams setQuantity(BigDecimal v)
-
getQuantity
public BigDecimal getQuantity()
-
setMarketPrice
public ReplaceAttachedParams setMarketPrice(BigDecimal v)
-
getMarketPrice
public BigDecimal getMarketPrice()
-
-