xiaoyong931011
2021-03-22 0dc8f42e10f9923967a04ee93c87a37e0d514dfa
src/main/java/com/xcong/excoin/modules/contract/parameter/vo/HoldOrderListVo.java
@@ -47,6 +47,9 @@
    @ApiModelProperty(value = "张数")
    private int symbolCnt;
    @ApiModelProperty(value = "可平张数")
    private int symbolCntSale;
    @ApiModelProperty(value = "回报率")
    private BigDecimal returnRate;
@@ -66,16 +69,29 @@
    @ApiModelProperty(value = "交易类型 1-市价 2-限价")
    private Integer tradeType;
    public BigDecimal getOpeningPrice() {
        return openingPrice.setScale(4, BigDecimal.ROUND_DOWN);
    @ApiModelProperty(value = "仓位类型 1-逐仓 2-全仓")
    private Integer positionType;
    @ApiModelProperty(value = "维持保证金")
    private BigDecimal holdBond;
    @ApiModelProperty(value = "手续费")
    private BigDecimal openingFeeAmount;
    public String getOpeningPrice() {
        return openingPrice.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public BigDecimal getBondAmount() {
        return bondAmount.setScale(4, BigDecimal.ROUND_DOWN);
    public String getBondAmount() {
        return bondAmount.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public BigDecimal getForceClosingPrice() {
        return forceClosingPrice.setScale(4, BigDecimal.ROUND_DOWN);
    public String getForceClosingPrice() {
        return forceClosingPrice.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public String getProfitOrLoss() {
        return profitOrLoss.setScale(4, BigDecimal.ROUND_DOWN).toPlainString();
    }
    public BigDecimal getCanAddMaxBond() {