package com.muchinfo.mtp3pojos.vo.marketrun;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "MarketRunPositionCountParam对象", description = "买卖持仓监控")
public class MarketRunPositionResult {

    @ApiModelProperty(value = "单号 ")
    private String tradeid;

    @ApiModelProperty(value = "交易日 ")
    private String tradedate1;

    @ApiModelProperty(value = "资金账户/账号/名称 ")
    private String accountid;

    private String loginids;

    private String accountname;

    @ApiModelProperty(value = "市场 ")
    private String marketname;

    @ApiModelProperty(value = "商品 ")
    private String goodsname;

    @ApiModelProperty(value = "方向 ")
    private Integer buyorsell;

    @ApiModelProperty(value = "持仓数量 ")
    private Integer holderqty;

    @ApiModelProperty(value = "持仓价格  ")
    private BigDecimal holderprice;

    @ApiModelProperty(value = "持仓金额 ")
    private BigDecimal holderamount;

    @ApiModelProperty(value = "浮动损益 ")
    private BigDecimal actuallYplS;

    @ApiModelProperty(value = "交易时间 ")
    private Date tradetime;

    private String goodscode;

    private BigDecimal agreeUnit;
}
