Package com.longport.trade
Class SubmitOrderOptions
- java.lang.Object
-
- com.longport.trade.SubmitOrderOptions
-
public class SubmitOrderOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description SubmitOrderOptions(String symbol, OrderType orderType, OrderSide side, BigDecimal submittedQuantity, TimeInForceType timeInForce)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubmitOrderOptions
setExpireDate(LocalDate expireDate)
SubmitOrderOptions
setLimitOffset(BigDecimal limitOffset)
SubmitOrderOptions
setOutsideRth(OutsideRTH outsideRth)
SubmitOrderOptions
setRemark(String remark)
SubmitOrderOptions
setSubmittedPrice(BigDecimal submittedPrice)
SubmitOrderOptions
setTrailingAmount(BigDecimal trailingAmount)
SubmitOrderOptions
setTrailingPercent(BigDecimal trailingPercent)
SubmitOrderOptions
setTriggerPrice(BigDecimal triggerPrice)
-
-
-
Constructor Detail
-
SubmitOrderOptions
public SubmitOrderOptions(String symbol, OrderType orderType, OrderSide side, BigDecimal submittedQuantity, TimeInForceType timeInForce)
-
-
Method Detail
-
setSubmittedPrice
public SubmitOrderOptions setSubmittedPrice(BigDecimal submittedPrice)
-
setTriggerPrice
public SubmitOrderOptions setTriggerPrice(BigDecimal triggerPrice)
-
setLimitOffset
public SubmitOrderOptions setLimitOffset(BigDecimal limitOffset)
-
setTrailingAmount
public SubmitOrderOptions setTrailingAmount(BigDecimal trailingAmount)
-
setTrailingPercent
public SubmitOrderOptions setTrailingPercent(BigDecimal trailingPercent)
-
setExpireDate
public SubmitOrderOptions setExpireDate(LocalDate expireDate)
-
setOutsideRth
public SubmitOrderOptions setOutsideRth(OutsideRTH outsideRth)
-
setRemark
public SubmitOrderOptions setRemark(String remark)
-
-