Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

우선 개봉 전/후 4주가 휴장일로 주가 데이터가 없을 가능성 #89

Open
Jake1152 opened this issue Aug 16, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@Jake1152
Copy link
Member

우선 개봉 전/후 4주가 휴장일로 주가 데이터가 없을 가능성을 생각했는데요

추가로 만약 월요일이 휴장일 -> 어제 주가데이터 -> 주말 -> 주가 없음 -> 금요일 주가 데이터 반환
이렇게 생각했습니다.
게다가 미국 주식 최장 휴장 기간이 9일이라고해서 최대 몇 회인지를 특정할 수가 없어서 while(true)로 두고 주가 있으면 break하게 작성했습니다

Originally posted by @jihwan1211 in #88 (comment)

위와 같은 상황에서의 성능 개선
휴장일이 9일인 경우 해당 api 결과를 생성하기 위해서는 10번의 query 요청이 필요하며 그런 영화가 포함되는 api마다 반복되므로 성능 저하가 우려됨.

@Jake1152 Jake1152 added the question Further information is requested label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants