package com.goldenchart.dto;

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

/**
 * OHLCV 캔들 데이터 DTO.
 * frontend OHLCVBar 와 동일 구조.
 */
@Data @Builder @NoArgsConstructor @AllArgsConstructor
public class OhlcvBar {
    /** Unix timestamp (초) */
    private long time;
    private double open;
    private double high;
    private double low;
    private double close;
    private double volume;
}
