Skip to content

Commit e9ac77a

Browse files
authored
Merge pull request #104 from SynergyX-AI-Pattern/feat/#62_pattern_apply_detail_info_by_stock
[FEAT] 종목-패턴 상세 조회에 알림 여부 추가 #62
2 parents d5be28a + 05d9621 commit e9ac77a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/com/synergyx/trading/dto/patternApply/PatternApplyResponseDTO.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public static class PatternDTO {
7878
private Double tolerance;
7979
private Integer periodValue;
8080
private String periodUnit;
81+
private Boolean isAlertEnabled;
8182
}
8283
@Getter
8384
@Builder

src/main/java/com/synergyx/trading/service/patternApplyService/PatternApplyQueryServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public PatternApplyResponseDTO.PatternApplyDetailDTO getPatternApplyDetail(Long
5555
.tolerance(pattern.getTolerance())
5656
.periodValue(pattern.getPeriodValue())
5757
.periodUnit(String.valueOf(pattern.getPeriodUnit()))
58+
.isAlertEnabled(patternApply.getIsAlertEnabled())
5859
.build())
5960
.backtestResult(backtest != null ? PatternApplyResponseDTO.PatternApplyDetailDTO.BacktestResultDTO.builder()
6061
.backtestId(backtest.getId())

0 commit comments

Comments
 (0)