Class LatokenOrder
java.lang.Object
org.knowm.xchange.latoken.dto.trade.LatokenNewOrder
org.knowm.xchange.latoken.dto.trade.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, "latokenOrderStatus": "partiallyFilled", "executedAmount": 0.27, "reaminingAmount": 0.3, "timeCreated": 155551580736, "timeFilled": 0 }
- Author:
- Ezer
-
Constructor Summary
ConstructorsConstructorDescriptionLatokenOrder
(String orderId, String clientOrderId, long pairId, String symbol, String side, String type, BigDecimal price, BigDecimal amount, String orderStatus, BigDecimal executedAmount, BigDecimal reaminingAmount, long timeCreated, long timeFilled) C'tor -
Method Summary
Modifier and TypeMethodDescriptionAmount of order filledOrder statusAmount of order available for executionTime of order creationTime when order is filled (ornull
)toString()
Methods inherited from class org.knowm.xchange.latoken.dto.trade.LatokenNewOrder
getAmount, getClientOrderId, getOrderId, getPairId, getPrice, getSide, getSymbol, getType
-
Constructor Details
-
LatokenOrder
public LatokenOrder(String orderId, String clientOrderId, long pairId, String symbol, String side, String type, BigDecimal price, BigDecimal amount, String orderStatus, BigDecimal executedAmount, BigDecimal reaminingAmount, long timeCreated, long timeFilled) C'tor- Parameters:
orderId
-clientOrderId
-pairId
-symbol
-side
-type
-price
-amount
-
-
-
Method Details
-
getOrderStatus
Order status- Returns:
-
getExecutedAmount
Amount of order filled- Returns:
-
getReaminingAmount
Amount of order available for execution- Returns:
-
getTimeCreated
Time of order creation- Returns:
-
getTimeFilled
Time when order is filled (ornull
)- Returns:
-
toString
- Overrides:
toString
in classLatokenNewOrder
-