| | |
| | | @ApiModelProperty(value = "交易类型 1-市价 2-限价") |
| | | private Integer tradeType; |
| | | |
| | | public BigDecimal getOpeningPrice() { |
| | | return openingPrice.setScale(4, BigDecimal.ROUND_DOWN); |
| | | 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() { |