Class LatokenNewOrder
java.lang.Object
org.knowm.xchange.latoken.dto.trade.LatokenNewOrder
- Direct Known Subclasses:
LatokenOrder
Response schema:
{
"orderId": "1555492358.126073.126767@0502:2",
"cliOrdId": "myNewOrder",
"pairId": 502,
"symbol": "LAETH",
"side": "buy",
"orderType": "limit",
"price": 136.2,
"amount": 0.57,
}
- Author:
- Ezer
-
Constructor Summary
ConstructorsConstructorDescriptionLatokenNewOrder(String orderId, String clientOrderId, long pairId, String symbol, String side, String type, BigDecimal price, BigDecimal amount) C'tor -
Method Summary
-
Constructor Details
-
LatokenNewOrder
public LatokenNewOrder(String orderId, String clientOrderId, long pairId, String symbol, String side, String type, BigDecimal price, BigDecimal amount) C'tor- Parameters:
orderId-clientOrderId-pairId-symbol-side-type-price-amount-
-
-
Method Details
-
getOrderId
Id of order- Returns:
-
getClientOrderId
Id of order provided by client (optional)- Returns:
-
getPairId
public long getPairId()ID of trading pair- Returns:
-
getSymbol
Trading pair symbol- Returns:
-
getSide
Order side- Returns:
-
getType
Order type- Returns:
-
getPrice
Order price- Returns:
-
getAmount
Order amount- Returns:
-
toString
-