분석레포트 로직 수정

This commit is contained in:
Macbook
2026-06-08 10:08:39 +09:00
parent e11e1a46fa
commit c20c806c19
22 changed files with 254 additions and 108 deletions
@@ -28,6 +28,9 @@ public class GcBacktestResult {
@Column(name = "settings_json", columnDefinition = "JSON")
@JdbcTypeCode(SqlTypes.JSON) private String settingsJson;
@Column(name = "execution_snapshot_json", columnDefinition = "JSON")
@JdbcTypeCode(SqlTypes.JSON) private String executionSnapshotJson;
@Column(name = "signals_json", columnDefinition = "JSON")
@JdbcTypeCode(SqlTypes.JSON) private String signalsJson;
@@ -61,6 +61,15 @@ public class GcPaperOrder {
@Column(name = "strategy_id")
private Long strategyId;
@Column(name = "candle_type", length = 10)
private String candleType;
@Column(name = "strategy_name", length = 200)
private String strategyName;
@Column(name = "execution_type", length = 30)
private String executionType;
/**
* 분할매매(staged) 주문 여부.
* TRUE 이면 체결(FILLED) 시 allocationService 단계를 자동 진행한다.
@@ -35,6 +35,18 @@ public class GcPaperTrade {
@Column(name = "strategy_id")
private Long strategyId;
/** 체결 시점 전략 평가 시간봉 (1m, 10m, …) */
@Column(name = "candle_type", length = 10)
private String candleType;
/** 체결 시점 전략명 스냅샷 */
@Column(name = "strategy_name", length = 200)
private String strategyName;
/** CANDLE_CLOSE | REALTIME_TICK */
@Column(name = "execution_type", length = 30)
private String executionType;
@Column(name = "price", precision = 20, scale = 2, nullable = false)
private BigDecimal price;