Class BitfinexWebSocketTrade

java.lang.Object
info.bitrich.xchangestream.bitfinex.dto.BitfinexWebSocketTrade

public class BitfinexWebSocketTrade
extends Object
Created by Lukas Zaoralek on 7.11.17.
  • Field Details

    • tradeId

      public long tradeId
    • timestamp

      public long timestamp
    • amount

      public BigDecimal amount
    • price

      public BigDecimal price
  • Constructor Details

    • BitfinexWebSocketTrade

      public BitfinexWebSocketTrade()
    • BitfinexWebSocketTrade

      public BitfinexWebSocketTrade​(long tradeId, long timestamp, BigDecimal amount, BigDecimal price)
  • Method Details

    • getTradeId

      public long getTradeId()
    • getTimestamp

      public long getTimestamp()
    • getAmount

      public BigDecimal getAmount()
    • getPrice

      public BigDecimal getPrice()
    • toBitfinexTrade

      public BitfinexTrade toBitfinexTrade()