Skip to content

Commit

Permalink
Merge pull request #154 from boostcampwm-2024/be/feature/order
Browse files Browse the repository at this point in the history
[Be/feature] 지정가 매도 오더북 로직 수정
  • Loading branch information
edder773 authored Dec 2, 2024
2 parents 844d902 + 2a35468 commit b525c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/order/matching.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ export class MatchingService {
);
}

if (buyOrder.tradingType == TradingType.LIMIT && sellOrder.unfilledQuantity! === 0) {
if (sellOrder.tradingType == TradingType.LIMIT && sellOrder.unfilledQuantity! === 0) {
await this.orderBookService.removeOrder(
sellOrder.memberId,
sellOrder.cropId,
Expand Down

0 comments on commit b525c4a

Please sign in to comment.