Class 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 Detail

      • LatokenUserTrades

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

      • 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: