Class BinanceTrade

java.lang.Object
org.knowm.xchange.binance.dto.trade.BinanceTrade

public final class BinanceTrade
extends Object
  • Field Details

    • id

      public final long id
    • orderId

      public final long orderId
    • price

      public final BigDecimal price
    • qty

      public final BigDecimal qty
    • commission

      public final BigDecimal commission
    • commissionAsset

      public final String commissionAsset
    • time

      public final long time
    • isBuyer

      public final boolean isBuyer
    • isMaker

      public final boolean isMaker
    • isBestMatch

      public final boolean isBestMatch
  • Constructor Details

    • BinanceTrade

      public BinanceTrade​(long id, long orderId, BigDecimal price, BigDecimal qty, BigDecimal commission, String commissionAsset, long time, boolean isBuyer, boolean isMaker, boolean isBestMatch)
  • Method Details

    • getTime

      public Date getTime()