| | |
| | | public class ExchangeApplyOrderDz extends UUIDEntity { |
| | | private static final long serialVersionUID = -7263336511778693149L; |
| | | public final static String STATE_SUBMITTED = "submitted"; |
| | | public final static String STATE_SUCCEED = "succeed"; |
| | | public final static String STATE_POSITION = "position"; |
| | | public final static String STATE_CLOSED = "closed"; |
| | | |
| | | public final static String STATE_FAILED = "failed"; |
| | | public final static String OFFSET_OPEN = "open"; |
| | | public final static String OFFSET_CLOSE = "close"; |
| | |
| | | private double fee; |
| | | |
| | | @ApiModelProperty("交易价格") |
| | | private Double price; |
| | | private double price; |
| | | |
| | | @ApiModelProperty("状态.submitted 已提交,succeed 成功, failed 失败") |
| | | @ApiModelProperty("状态.submitted 已提交,position 持仓,closed 结算,failed 失败") |
| | | private String state = "submitted"; |
| | | |
| | | private Date createTime; |
| | | |
| | | @ApiModelProperty("卖出价格") |
| | | private double closePrice; |
| | | |
| | | @ApiModelProperty("卖出时间") |
| | | private Date closeTime; |
| | | |
| | | /** |
| | | * 创建日期 |
| | | */ |