|  |  | 
 |  |  |                             if (profitLossPrice.compareTo(BigDecimal.ZERO) > 0) { | 
 |  |  |                                 profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.subtract(tradeSetting.getProfitParam())); | 
 |  |  |                             } else { | 
 |  |  |                                 profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.add(tradeSetting.getProfitParam())); | 
 |  |  | //                                profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.add(tradeSetting.getProfitParam())); | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |                         //回报率 | 
 |  |  | 
 |  |  |                             if (profitLossPrice.compareTo(BigDecimal.ZERO) > 0) { | 
 |  |  |                                 profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.subtract(tradeSetting.getProfitParam())); | 
 |  |  |                             } else { | 
 |  |  |                                 profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.add(tradeSetting.getProfitParam())); | 
 |  |  | //                                profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.add(tradeSetting.getProfitParam())); | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |                         //回报率 | 
 |  |  | 
 |  |  |                             if (profitLossPrice.compareTo(BigDecimal.ZERO) > 0) { | 
 |  |  |                                 profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.subtract(tradeSetting.getProfitParam())); | 
 |  |  |                             } else { | 
 |  |  |                                 profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.add(tradeSetting.getProfitParam())); | 
 |  |  | //                                profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.add(tradeSetting.getProfitParam())); | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |                         //回报率 | 
 |  |  | 
 |  |  |                             if (profitLossPrice.compareTo(BigDecimal.ZERO) > 0) { | 
 |  |  |                                 profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.subtract(tradeSetting.getProfitParam())); | 
 |  |  |                             } else { | 
 |  |  |                                 profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.add(tradeSetting.getProfitParam())); | 
 |  |  | //                                profitLossPrice = profitLossPrice.multiply(BigDecimal.ONE.add(tradeSetting.getProfitParam())); | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |                         //回报率 |