Class LatokenPair
java.lang.Object
org.knowm.xchange.latoken.dto.exchangeinfo.LatokenPair
Response schema:
{ "pairId": 502, "symbol": "LAETH", "baseCurrency": "LA", "quotedCurrency": "ETH", "makerFee": 0.01, "takerFee": 0.01, "pricePrecision": 8, "amountPrecision": 8, "minQty": 0.1 }
- Author:
- Ezer
-
Constructor Summary
ConstructorDescriptionLatokenPair
(long pairId, String symbol, String baseCurrency, String counterCurrency, BigDecimal makerFee, BigDecimal takerFee, int pricePrecision, int amountPrecision, BigDecimal minOrderAmount) C'tor -
Method Summary
Modifier and TypeMethodDescriptionint
Amount precisionSymbol of base currencySymbol of counter currencyMaker feeMinimum order amountlong
ID of pairint
Price precisionPair symbolTaker feetoString()
-
Constructor Details
-
LatokenPair
public LatokenPair(long pairId, String symbol, String baseCurrency, String counterCurrency, BigDecimal makerFee, BigDecimal takerFee, int pricePrecision, int amountPrecision, BigDecimal minOrderAmount) C'tor- Parameters:
pairId
-symbol
-baseCurrency
-counterCurrency
-makerFee
-takerFee
-pricePrecision
-amountPrecision
-minOrderAmount
-
-
-
Method Details
-
getPairId
public long getPairId()ID of pair- Returns:
-
getSymbol
Pair symbol- Returns:
-
getBaseCurrency
Symbol of base currency- Returns:
-
getCounterCurrency
Symbol of counter currency- Returns:
-
getMakerFee
Maker fee- Returns:
-
getTakerFee
Taker fee- Returns:
-
getPricePrecision
public int getPricePrecision()Price precision- Returns:
-
getAmountPrecision
public int getAmountPrecision()Amount precision- Returns:
-
getMinOrderAmount
Minimum order amount- Returns:
-
toString
-