| | |
| | | historyOrderRecordsVo.setClosingPrice(closingPrice);
|
| | | BigDecimal openingPrice = historyOrderRecordsVo.getOpeningPrice().setScale(2, BigDecimal.ROUND_DOWN);
|
| | | historyOrderRecordsVo.setOpeningPrice(openingPrice);
|
| | | }
|
| | | historyOrderRecordsVo.setClosingTimeStamp(historyOrderRecordsVo.getClosingTime().getTime());
|
| | | }
|
| | | }
|
| | | return Result.ok(historyOrderRecordsVoList);
|
| | | }
|
| | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
| | | @ApiModelProperty("平仓时间")
|
| | | private Date closingTime;
|
| | |
|
| | | @ApiModelProperty("平仓时间时间戳")
|
| | | private long closingTimeStamp;
|
| | |
|
| | | @ApiModelProperty("订单编号")
|
| | | private String orderNo;
|