public class KrakenTrade extends Object
Constructor and 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
|
Modifier and Type | Method and 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() |
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)
orderTxId
- assetPair
- unixTimestamp
- type
- orderType
- price
- cost
- fee
- volume
- margin
- miscellaneous
- closing
- positionStatus
- averageClosePrice
- closeCost
- closeFee
- closeVolume
- closeMargin
- netDifference
- tradeIds
- public String getOrderTxId()
public String getAssetPair()
public double getUnixTimestamp()
public KrakenType getType()
public KrakenOrderType getOrderType()
public BigDecimal getPrice()
public BigDecimal getCost()
public BigDecimal getFee()
public BigDecimal getVolume()
public BigDecimal getMargin()
public String getMiscellaneous()
public String getClosing()
public String getPositionStatus()
public BigDecimal getAverageClosePrice()
public BigDecimal getCloseCost()
public BigDecimal getCloseFee()
public BigDecimal getCloseVolume()
public BigDecimal getCloseMargin()
public BigDecimal getNetDifference()
Copyright © 2012–2016 Xeiam, LLC. All rights reserved.