Skip to content

Commit

Permalink
Refactor: 설명 오타 변경
Browse files Browse the repository at this point in the history
주석 변경 입니다

related to: #59
  • Loading branch information
Preta3418 committed Nov 29, 2024
1 parent b717144 commit 0b28bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public List<Trend> analyzeTrends(AdvStock advStock) {


// 한시간 단위로 구성되어 있는 FORECAST 데이터를 일단위로 묶어 groupedData 에 저장
// LocalDate.of(2024, 11, 29): [153.o, 154.5, 155.0] 형식으로 구성 될 것. 아마도. 제발.
// LocalDate.of(2024, 11, 29): [153.0, 154.5, 155.0] 형식으로 구성 될 것. 아마도. 제발.
private Map<LocalDate, List<Double>> groupByDate(List<Long> timestamps, List<Double> closePrices) {
Map<LocalDate, List<Double>> groupedData = new HashMap<>();

Expand All @@ -55,6 +55,7 @@ private List<DailyTrend> calculateDailyTrends(Map<LocalDate, List<Double>> group
dailyTrends.add(new DailyTrend(entry.getKey(), trendType, percentageChange));
}

//LocalDate.of(2024,11,29), "UP", 2.5 형식으로 나올것
return dailyTrends;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.util.List;

@RestController
@RequestMapping("/api/articles")
@RequestMapping("/api/v1/articles")
@RequiredArgsConstructor
public class ArticleController {

Expand Down

0 comments on commit 0b28bc9

Please sign in to comment.