package com.copy.trade.entity.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class PositionDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 仓位ID
     */
    private Long positionId;

    /**
     * 交易对
     */
    private String symbol;
    
    /**
     * 止损价格
     */
    private BigDecimal lossPrice;
    
    /**
     * 止盈价格
     */
    private BigDecimal profitPrice;
    
    
    /**
     * 方向(10多 20空)
     */
    private Integer direction;

    /**
     * 保证金
     */
    private BigDecimal principalAmount;
    
    /**
     * 止损比例下的亏损金额
     */
    private BigDecimal lossAmount;
    
    /**
     * 止盈比例下的盈利金额
     */
    private BigDecimal profitAmount;



}
