Class BitfinexNewOrderRequest
- java.lang.Object
-
- org.knowm.xchange.bitfinex.v1.dto.trade.BitfinexNewOrderRequest
-
- Direct Known Subclasses:
BitfinexReplaceOrderRequest
public class BitfinexNewOrderRequest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringamountprotected Stringbuy_price_ocoprotected Stringexchangeprotected booleanis_hiddenprotected booleanis_postonlyprotected Stringnonceprotected booleanocoorderprotected Stringpriceprotected Stringrequestprotected Stringsell_price_ocoprotected Stringsideprotected Stringsymbolprotected Stringtype
-
Constructor Summary
Constructors Constructor Description BitfinexNewOrderRequest(String nonce, String symbol, BigDecimal amount, BigDecimal price, String exchange, String side, String type, boolean isHidden, boolean isPostOnly, BigDecimal ocoAmount)BitfinexNewOrderRequest(String nonce, String symbol, BigDecimal amount, BigDecimal price, String exchange, String side, String type, BigDecimal ocoAmount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAmount()StringgetNonce()StringgetPrice()StringgetRequest()StringgetSide()StringgetSymbol()StringgetType()voidsetNonce(String nonce)voidsetRequest(String request)
-
-
-
Field Detail
-
request
protected String request
-
nonce
protected String nonce
-
symbol
protected String symbol
-
exchange
protected String exchange
-
side
protected String side
-
type
protected String type
-
amount
protected String amount
-
price
protected String price
-
is_hidden
protected boolean is_hidden
-
is_postonly
protected boolean is_postonly
-
ocoorder
protected boolean ocoorder
-
buy_price_oco
protected String buy_price_oco
-
sell_price_oco
protected String sell_price_oco
-
-
Constructor Detail
-
BitfinexNewOrderRequest
public BitfinexNewOrderRequest(String nonce, String symbol, BigDecimal amount, BigDecimal price, String exchange, String side, String type, BigDecimal ocoAmount)
-
BitfinexNewOrderRequest
public BitfinexNewOrderRequest(String nonce, String symbol, BigDecimal amount, BigDecimal price, String exchange, String side, String type, boolean isHidden, boolean isPostOnly, BigDecimal ocoAmount)
-
-
Method Detail
-
getRequest
public String getRequest()
-
setRequest
public void setRequest(String request)
-
getNonce
public String getNonce()
-
setNonce
public void setNonce(String nonce)
-
getSide
public String getSide()
-
getType
public String getType()
-
getSymbol
public String getSymbol()
-
getAmount
public String getAmount()
-
getPrice
public String getPrice()
-
-