Package org.knowm.xchange.idex.dto
Class OrderReq
java.lang.Object
org.knowm.xchange.idex.dto.OrderReq
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(address string) - The address you are posting the order from(uint256) - The amount of the token you will receive when the order is fully filledamountSell(String amountSell) (uint256) - The amount of the token you will give up when the order is fully filledbooleanexpires(BigInteger expires) (uint256) - DEPRECATED this property has no effect on your limit order but is still REQUIRED to submit a limit order as it is one of the parameters that is hashed.getNonce()getR()getS()getV()inthashCode()nonce(BigInteger nonce) (uint256) - One time number associated with the limit ordervoidsetAddress(String address) voidsetAmountBuy(String amountBuy) voidsetAmountSell(String amountSell) voidsetExpires(BigInteger expires) voidsetNonce(BigInteger nonce) voidvoidvoidsetTokenBuy(String tokenBuy) voidsetTokenSell(String tokenSell) voidsetV(BigInteger v) (address string) - The address of the token you will receive as a result of the trade(address string) - The address of the token you will lose as a result of the tradetoString()v(BigInteger v)
-
Constructor Details
-
OrderReq
public OrderReq()
-
-
Method Details
-
tokenBuy
(address string) - The address of the token you will receive as a result of the trade -
getTokenBuy
-
setTokenBuy
-
amountBuy
(uint256) - The amount of the token you will receive when the order is fully filled -
getAmountBuy
-
setAmountBuy
-
tokenSell
(address string) - The address of the token you will lose as a result of the trade -
getTokenSell
-
setTokenSell
-
amountSell
(uint256) - The amount of the token you will give up when the order is fully filled -
getAmountSell
-
setAmountSell
-
address
(address string) - The address you are posting the order from -
getAddress
-
setAddress
-
nonce
(uint256) - One time number associated with the limit order -
getNonce
-
setNonce
-
expires
(uint256) - DEPRECATED this property has no effect on your limit order but is still REQUIRED to submit a limit order as it is one of the parameters that is hashed. It must be a numeric type -
getExpires
-
setExpires
-
v
-
getV
-
setV
-
r
-
getR
-
setR
-
s
-
getS
-
setS
-
equals
-
hashCode
public int hashCode() -
toString
-