-
Notifications
You must be signed in to change notification settings - Fork 3
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/#253 - 가격 상승률 및 하락률 데이터 수집 #260
Conversation
# Conflicts: # packages/backend/src/user/user.service.spec.ts # packages/backend/src/user/user.service.ts
# Conflicts: # packages/backend/src/scraper/openapi/openapi-scraper.module.ts # packages/backend/src/scraper/openapi/type/openapiUtil.type.ts
setTimeout(() => this.getFluctuationRankStocks(), 1000); | ||
} | ||
|
||
@Cron('*/1 9-16 * * 1-5') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/1는 안 써도 될거 같아요!
https://docs.nestjs.com/techniques/task-scheduling
return this.getStocksQuery() | ||
.innerJoinAndSelect('stock.fluctuationRankStocks', 'FluctuationRankStock') | ||
.addSelect([ | ||
'fluctuationRankStock.rank AS stockRank', | ||
'fluctuationRankStock.isRising AS isRising', | ||
'fluctuationRankStock.fluctuation_rate AS fluctuationRate', | ||
]) | ||
.where('FluctuationRankStock.isRising = :isRising', { isRising }); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ㅗㅜㅑ; typeorm의 경지는 멀고 험난하군요..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰 남기고 approve를 깜박했네요;
close #253 #263 #264
✅ 작업 내용
📌 이슈 사항
✍ 궁금한 점
😎 체크 사항