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
ConstructorsConstructorDescriptionLatokenPair(long pairId, String symbol, String baseCurrency, String counterCurrency, BigDecimal makerFee, BigDecimal takerFee, int pricePrecision, int amountPrecision, BigDecimal minOrderAmount) C'tor -
Method Summary
Modifier and TypeMethodDescriptionintAmount precisionSymbol of base currencySymbol of counter currencyMaker feeMinimum order amountlongID of pairintPrice 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
-