package com.copy.trade.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel("跟单")
@Data
public class FollowOrderVo {

    @ApiModelProperty("仓位ID")
    private Long positionId;

    @ApiModelProperty("交易对")
    private String symbol;

    @ApiModelProperty("订单方向(0买 1卖)")
    private Integer direction;

    @ApiModelProperty("杠杆倍数")
    private Integer leverage;

    @ApiModelProperty("张数")
    private BigDecimal totalPosition;

    @ApiModelProperty("当前价格")
    private BigDecimal currentPrice;

    @ApiModelProperty("平仓均价")
    private BigDecimal closePrice;

    @ApiModelProperty("平仓时间")
    private Long closeTime;

    @ApiModelProperty("开仓均价")
    private BigDecimal openPrice;

    @ApiModelProperty("收益")
    private BigDecimal profit;

    @ApiModelProperty("收益率")
    private BigDecimal profitRate;
    
    @ApiModelProperty("保证金")
    private BigDecimal principalAmount;

    @ApiModelProperty("开仓时间")
    private Long openTime;

    @ApiModelProperty("交易员昵称")
    private String traderNickname;

    @ApiModelProperty("交易员头像")
    private String traderAvatar;

    @ApiModelProperty("交易员仓位ID")
    private Long traderPositionId;
    
    @ApiModelProperty("是否特级交易员")
    private Boolean specialTrader;
    
    @ApiModelProperty("手续费")
    private Long transactionFee;
    
    @ApiModelProperty("最大跟随人数")
    private Integer maxFollow;
    
    @ApiModelProperty("当前跟随人数")
    private Integer following;
    
    @ApiModelProperty("老师Id")
    private Long traderId;

}
