Class BitsoTransaction
- java.lang.Object
-
- org.knowm.xchange.bitso.dto.marketdata.BitsoTransaction
-
public class BitsoTransaction extends Object
- Author:
- Piotr Ładyżyński
-
-
Constructor Summary
Constructors Constructor Description BitsoTransaction(long date, int tid, BigDecimal price, BigDecimal amount, String side)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalcalculateFeeBtc()BigDecimalcalculateFeeMxn()BigDecimalgetAmount()longgetDate()BigDecimalgetPrice()StringgetSide()intgetTid()StringtoString()
-
-
-
Constructor Detail
-
BitsoTransaction
public BitsoTransaction(long date, int tid, BigDecimal price, BigDecimal amount, String side)Constructor- Parameters:
date- Unix timestamp date and timetid- Transaction idprice- BTC priceamount- BTC amountside- "buy"/"sell" for the type of order the trade has completed
-
-
Method Detail
-
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()
-
-