전략알림 수정
This commit is contained in:
@@ -57,6 +57,14 @@ public class StrategyController {
|
||||
return ResponseEntity.ok(conditionTimeframes.collectForStrategyList(id));
|
||||
}
|
||||
|
||||
/** TIMEFRAME 래핑 누락 DSL 보정 (3분봉 전략이 1분봉으로 평가되는 경우) */
|
||||
@PostMapping("/{id}/repair-timeframes")
|
||||
public ResponseEntity<StrategyDto> repairTimeframes(@PathVariable Long id) {
|
||||
return service.repairTimeframeWrappers(id)
|
||||
.map(ResponseEntity::ok)
|
||||
.orElse(ResponseEntity.notFound().build());
|
||||
}
|
||||
|
||||
/** 전략 삭제 */
|
||||
@DeleteMapping("/{id}")
|
||||
public ResponseEntity<Void> delete(@PathVariable Long id) {
|
||||
|
||||
Reference in New Issue
Block a user