1
zj
2024-07-12 bc9801d6adf582325e8213df11f597f82deda973
src/main/java/project/contract/ContractOrder.java
@@ -149,17 +149,7 @@
   private Double volume_open;
   public Double getChange_ratio() {
      if (STATE_SUBMITTED.equals(state)) {
         change_ratio = Arith.div(Arith.sub(Arith.add(Arith.add(amount_close, profit), deposit), deposit_open),
               deposit_open);
      } else {
         change_ratio = Arith.div(Arith.sub(Arith.add(amount_close, deposit), deposit_open), deposit_open);
      }
      change_ratio = Arith.mul(change_ratio, 100);
      DecimalFormat df = new DecimalFormat("#.##");
      return Double.valueOf(df.format(change_ratio));
      return change_ratio;
   }
   public Serializable getPartyId() {