Class LatokenTrades


  • public final class LatokenTrades
    extends Object
    Response schema:
     {
            "pairId": 502,
            "symbol": "LAETH",
            "tradeCount": 1,
            "trades": [
                    {
                            "side": "sell",
                            "price": 136.2,
                            "amount": 0.57,
                            "timestamp": 1555515807369
                    }
            ]
     }
     
    Author:
    Ezer
    • Constructor Detail

      • LatokenTrades

        public LatokenTrades​(long pairId,
                             String symbol,
                             int tradeCount,
                             List<LatokenTrade> trades)
    • Method Detail

      • getPairId

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

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

        public int getTradeCount()
        Count of trades in response
        Returns: