package com.goldenchart.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LiveSummaryDto {
    private boolean enabled;
    private boolean configured;
    private String tradingMode;
    private double krwBalance;
    private List<Position> positions;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Position {
        private String symbol;
        private double quantity;
        private double avgPrice;
    }
}
