KKSU
2024-04-17 d23645e976981bc9b670eea1d469fe8a36be309c
src/main/java/com/xcong/excoin/modules/contract/parameter/vo/HoldOrderListVo.java
@@ -84,28 +84,16 @@
        return CommonUtils.amountDotFormat(this.symbol, openingPrice);
    }
    private String dotFormat(BigDecimal price) {
        String priceFormat = "";
        switch (this.symbol) {
            case "BTC/USDT":
            case "ETH/USDT":
            case "LTC/USDT":
            case "BCH/USDT":
                priceFormat = price.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
                break;
            case "EOS/USDT":
            case "XRP/USDT":
            case "ETC/USDT":
                priceFormat = price.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
                break;
            default:
                priceFormat = price.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
        }
        return priceFormat;
    public String getStopLossPrice() {
        return CommonUtils.amountDotFormat(this.symbol, stopLossPrice);
    }
    public String getStopProfitPrice() {
        return CommonUtils.amountDotFormat(this.symbol, stopProfitPrice);
    }
    public String getBondAmount() {
        return CommonUtils.amountDotFormat(this.symbol, bondAmount);
        return bondAmount == null ? "" : bondAmount.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public String getForceClosingPrice() {