Class BitsoTransaction

java.lang.Object
org.knowm.xchange.bitso.dto.marketdata.BitsoTransaction

public class BitsoTransaction
extends Object
Author:
Piotr Ładyżyński
  • Constructor Details

    • BitsoTransaction

      public BitsoTransaction​(long date, int tid, BigDecimal price, BigDecimal amount, String side)
      Constructor
      Parameters:
      date - Unix timestamp date and time
      tid - Transaction id
      price - BTC price
      amount - BTC amount
      side - "buy"/"sell" for the type of order the trade has completed
  • Method Details

    • getTid

      public int getTid()
    • getPrice

      public BigDecimal getPrice()
    • getAmount

      public BigDecimal getAmount()
    • getDate

      public long getDate()
    • getSide

      public String getSide()
    • calculateFeeBtc

      public BigDecimal calculateFeeBtc()
    • calculateFeeMxn

      public BigDecimal calculateFeeMxn()
    • toString

      public String toString()
      Overrides:
      toString in class Object