Class LatokenUserTrades
java.lang.Object
org.knowm.xchange.latoken.dto.trade.LatokenUserTrades
Response schema:
{ "pairId": 502, "symbol": "LAETH", "tradeCount": 1, "trades": [ { "id": "1555492358.126073.126767@0502:2", "orderId": "1555492358.126073.126767@0502:2", "commission": 0.012, "side": "buy", "price": 136.2, "amount": 0.7, "time": 1555515807369 } ] }
- Author:
- Ezer
-
Constructor Summary
ConstructorDescriptionLatokenUserTrades
(String pairId, String symbol, int tradeCount, List<LatokenUserTrade> trades) C'tor -
Method Summary
Modifier and TypeMethodDescriptionID of trading pairTrading pair symbolint
Number of trades in responseList ofLatokenUserTrade
objects.toString()
-
Constructor Details
-
LatokenUserTrades
public LatokenUserTrades(String pairId, String symbol, int tradeCount, List<LatokenUserTrade> trades) C'tor- Parameters:
pairId
-symbol
-tradeCount
-trades
-
-
-
Method Details
-
getPairId
ID of trading pair- Returns:
-
getSymbol
Trading pair symbol- Returns:
-
getTradeCount
public int getTradeCount()Number of trades in response- Returns:
-
getTrades
List ofLatokenUserTrade
objects.- Returns:
-
toString
-