
org.knowm.xchange.binance.dto.meta.BinanceCurrencyPairMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-binance Show documentation
Show all versions of xchange-binance Show documentation
Development fork. Not for general use.
The newest version!
package org.knowm.xchange.binance.dto.meta;
import java.math.BigDecimal;
import org.knowm.xchange.dto.meta.CurrencyPairMetaData;
import org.knowm.xchange.dto.meta.FeeTier;
/** @author ujjwal on 26/02/18. */
public class BinanceCurrencyPairMetaData extends CurrencyPairMetaData {
private final BigDecimal minNotional;
/**
* Constructor
*
* @param tradingFee Trading fee (fraction)
* @param minimumAmount Minimum trade amount
* @param maximumAmount Maximum trade amount
* @param priceScale Price scale
*/
public BinanceCurrencyPairMetaData(
BigDecimal tradingFee,
BigDecimal minimumAmount,
BigDecimal maximumAmount,
Integer priceScale,
BigDecimal minNotional,
FeeTier[] feeTiers) {
super(tradingFee, minimumAmount, maximumAmount, priceScale, feeTiers);
this.minNotional = minNotional;
}
public BigDecimal getMinNotional() {
return minNotional;
}
@Override
public String toString() {
return "BinanceCurrencyPairMetaData{" + "minNotional=" + minNotional + "} " + super.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy