Class LatokenUserTrades

java.lang.Object
org.knowm.xchange.latoken.dto.trade.LatokenUserTrades

public class LatokenUserTrades extends Object
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 Details

    • LatokenUserTrades

      public LatokenUserTrades(String pairId, String symbol, int tradeCount, List<LatokenUserTrade> trades)
      C'tor
      Parameters:
      pairId -
      symbol -
      tradeCount -
      trades -
  • Method Details

    • getPairId

      public String getPairId()
      ID of trading pair
      Returns:
    • getSymbol

      public String getSymbol()
      Trading pair symbol
      Returns:
    • getTradeCount

      public int getTradeCount()
      Number of trades in response
      Returns:
    • getTrades

      public List<LatokenUserTrade> getTrades()
      List of LatokenUserTrade objects.
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object