Package org.knowm.xchange.ftx.dto.trade
Class FtxOrderRequestPayload
java.lang.Object
org.knowm.xchange.ftx.dto.trade.FtxOrderRequestPayload
-
Constructor Summary
ConstructorsConstructorDescriptionFtxOrderRequestPayload
(String market, FtxOrderSide side, BigDecimal price, FtxOrderType type, BigDecimal size, boolean reduceOnly, boolean ioc, boolean postOnly, String clientId) -
Method Summary
Modifier and TypeMethodDescriptiongetPrice()
getSide()
getSize()
getType()
boolean
isIoc()
boolean
boolean
void
setClientId
(String clientId) void
setIoc
(boolean ioc) void
void
setPostOnly
(boolean postOnly) void
setPrice
(BigDecimal price) void
setReduceOnly
(boolean reduceOnly) void
setSide
(FtxOrderSide side) void
setSize
(BigDecimal size) void
setType
(FtxOrderType type) toString()
-
Constructor Details
-
FtxOrderRequestPayload
public FtxOrderRequestPayload(String market, FtxOrderSide side, BigDecimal price, FtxOrderType type, BigDecimal size, boolean reduceOnly, boolean ioc, boolean postOnly, String clientId)
-
-
Method Details
-
getMarket
-
setMarket
-
getSide
-
setSide
-
getPrice
-
setPrice
-
getType
-
setType
-
getSize
-
setSize
-
isReduceOnly
public boolean isReduceOnly() -
setReduceOnly
public void setReduceOnly(boolean reduceOnly) -
isIoc
public boolean isIoc() -
setIoc
public void setIoc(boolean ioc) -
isPostOnly
public boolean isPostOnly() -
setPostOnly
public void setPostOnly(boolean postOnly) -
getClientId
-
setClientId
-
toString
-