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

Feature/#297 - 가격 등락률 순 api 추가 #302

Merged
merged 4 commits into from
Nov 30, 2024
Merged

Conversation

baegyeong
Copy link
Collaborator

close #297

✅ 작업 내용

  • 변경된 명세에 따라 등락률 순 api 요청 시 type을 보내도록 했습니다.
  • 상승/하락순 정렬을 확인하실 수 있습니다.

📸 스크린샷(FE만)

sort.mp4

✍ 궁금한 점

지수 정보/등락률 순 데이터를 서버에서 받아올 때 갱신되는 주기가 궁금합니다.

😎 체크 사항

  • label 설정 확인
  • 브랜치 방향 확인

@baegyeong baegyeong added 📪API 서버 API 통신 FE labels Nov 30, 2024
@baegyeong baegyeong requested a review from a team November 30, 2024 09:57
@baegyeong baegyeong self-assigned this Nov 30, 2024
@baegyeong baegyeong linked an issue Nov 30, 2024 that may be closed by this pull request
1 task
@@ -13,5 +13,6 @@ export const useGetStockIndex = () => {
return useQuery({
queryKey: ['stockIndex'],
queryFn: getStockIndex,
staleTime: 1000 * 60,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 stale을 서버가 좋아합니다

Copy link
Collaborator

@swkim12345 swkim12345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@xjfcnfw3 xjfcnfw3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ~ 👍

@baegyeong
Copy link
Collaborator Author

@swkim12345 @xjfcnfw3 PR 본문에 질문 확인해주세요!!!

@xjfcnfw3
Copy link
Collaborator

xjfcnfw3 commented Nov 30, 2024

지수 정보/등락률 순 데이터를 서버에서 받아올 때 갱신되는 주기가 궁금합니다.

등락률은 9 ~ 16시까지 1분 주기이고
지수정보는 9 ~ 15은 1분 주기, 15 ~ 16은 30분 주기로 알고 있습니다!

@baegyeong
Copy link
Collaborator Author

지수 정보/등락률 순 데이터를 서버에서 받아올 때 갱신되는 주기가 궁금합니다.

등락률은 9 ~ 16시까지 1분 주기이고 지수정보는 9 ~ 15은 1분 주기, 15 ~ 16은 30분 주기로 알고 있습니다!

아하 감사합니다! 데이터를 언제까지 캐싱하고 있을지 고민이 되어 여쭤봤습니다

@baegyeong baegyeong merged commit f2f7242 into dev-fe Nov 30, 2024
@swkim12345 swkim12345 deleted the feature/#297 branch December 5, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📪API 서버 API 통신 FE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] - 가격 등락률을 바뀐 api에 맞춰 다시 구현한다.
3 participants