| | |
| | | /**
|
| | | * 手续费
|
| | | */
|
| | | @ApiModelProperty(value = "手续费")
|
| | | @ApiModelProperty(value = "手续费率")
|
| | | private BigDecimal feeRatio;
|
| | | /**
|
| | | * 用户可用金额
|
| | |
| | | return Result.fail(MessageSourceUtils.getString("order_service_0009"));
|
| | | }
|
| | | // 手续费用(手续费=建仓价X数量X手续费率)
|
| | | BigDecimal closingPrice = price.multiply(amount).multiply(new BigDecimal(MemberWalletCoinEnum.SUBMITSALESWALLETCOINORDER_SERVICERATE.getValue()));
|
| | | BigDecimal closingPrice = price.multiply(amount).multiply(tradeSetting.getCoinFeeRatio());
|
| | | //总费用 = 成交价*数量+手续费
|
| | | BigDecimal totalPayPrice = price.multiply(amount).add(closingPrice);
|
| | |
|
| | |
| | | */
|
| | | private BigDecimal feeRatio;
|
| | | /**
|
| | | * 币币手续费率
|
| | | */
|
| | | private BigDecimal coinFeeRatio;
|
| | | /**
|
| | | * 代理返佣比例
|
| | | */
|
| | | private BigDecimal agentReturnRatio;
|