Class KrakenTrade
java.lang.Object
org.knowm.xchange.kraken.dto.trade.KrakenTrade
public class KrakenTrade extends Object
-
Constructor Summary
Constructors Constructor Description KrakenTrade(String orderTxId, String assetPair, double unixTimestamp, KrakenType type, KrakenOrderType orderType, BigDecimal price, BigDecimal cost, BigDecimal fee, BigDecimal volume, BigDecimal margin, String miscellaneous, String closing, String positionStatus, BigDecimal averageClosePrice, BigDecimal closeCost, BigDecimal closeFee, BigDecimal closeVolume, BigDecimal closeMargin, BigDecimal netDifference, List<String> tradeIds)
Constructor -
Method Summary
Modifier and Type Method Description String
getAssetPair()
BigDecimal
getAverageClosePrice()
BigDecimal
getCloseCost()
BigDecimal
getCloseFee()
BigDecimal
getCloseMargin()
BigDecimal
getCloseVolume()
String
getClosing()
BigDecimal
getCost()
BigDecimal
getFee()
BigDecimal
getMargin()
String
getMiscellaneous()
BigDecimal
getNetDifference()
String
getOrderTxId()
KrakenOrderType
getOrderType()
String
getPositionStatus()
BigDecimal
getPrice()
List<String>
getTradeIds()
KrakenType
getType()
double
getUnixTimestamp()
BigDecimal
getVolume()
String
toString()
-
Constructor Details
-
KrakenTrade
public KrakenTrade(String orderTxId, String assetPair, double unixTimestamp, KrakenType type, KrakenOrderType orderType, BigDecimal price, BigDecimal cost, BigDecimal fee, BigDecimal volume, BigDecimal margin, String miscellaneous, String closing, String positionStatus, BigDecimal averageClosePrice, BigDecimal closeCost, BigDecimal closeFee, BigDecimal closeVolume, BigDecimal closeMargin, BigDecimal netDifference, List<String> tradeIds)Constructor- Parameters:
orderTxId
-assetPair
-unixTimestamp
-type
-orderType
-price
-cost
-fee
-volume
-margin
-miscellaneous
-closing
-positionStatus
-averageClosePrice
-closeCost
-closeFee
-closeVolume
-closeMargin
-netDifference
-tradeIds
-
-
-
Method Details
-
getOrderTxId
-
getAssetPair
-
getUnixTimestamp
public double getUnixTimestamp() -
getType
-
getOrderType
-
getPrice
-
getCost
-
getFee
-
getVolume
-
getMargin
-
getMiscellaneous
-
getClosing
-
getPositionStatus
-
getAverageClosePrice
-
getCloseCost
-
getCloseFee
-
getCloseVolume
-
getCloseMargin
-
getNetDifference
-
getTradeIds
-
toString
-