투자분석 레포트 로직 수정

This commit is contained in:
Macbook
2026-06-08 09:10:17 +09:00
parent bb3c14bd59
commit d4f0105b5a
7 changed files with 367 additions and 101 deletions
@@ -31,12 +31,14 @@ public class BacktestResponse {
public static class Signal {
/** Unix timestamp (초) */
private long time;
/** BUY | SELL */
/** BUY | SELL | SHORT_ENTRY | SHORT_EXIT | PARTIAL_SELL */
private String type;
/** 해당 봉 종가 */
/** 체결 가격 (슬리피지 반영) */
private double price;
/** 진입/청산 인덱스 (0-based) */
private int barIndex;
/** 체결 수량 (코인/주식 단위, 미체결 시그널 없음) */
private double quantity;
}
@Data @Builder @NoArgsConstructor @AllArgsConstructor