Class KrakenTrade
java.lang.Object
org.knowm.xchange.kraken.dto.trade.KrakenTrade
-
Constructor Summary
ConstructorDescriptionKrakenTrade
(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
-
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
-