Skip to content

Commit

Permalink
Merge pull request #147 from boostcampwm-2024/feature/api/stockDetail…
Browse files Browse the repository at this point in the history
…-#144

✨ feat: 주식 주문에 사용할 상한가, 하한가 추가#144
  • Loading branch information
uuuo3o authored Nov 19, 2024
2 parents c0d2270 + 49edc8f commit a02a4fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BE/src/stock/detail/dto/stock-detail-response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,10 @@ export class InquirePriceResponseDto {

@ApiProperty({ description: 'PER' })
per: string;

@ApiProperty({ description: '주식 상한가' })
stck_mxpr: string;

@ApiProperty({ description: '주식 하한가' })
stck_llam: string;
}
2 changes: 2 additions & 0 deletions BE/src/stock/detail/stock-detail.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export class StockDetailService {
prdy_ctrt: stock.prdy_ctrt,
hts_avls: stock.hts_avls,
per: stock.per,
stck_mxpr: stock.stck_mxpr,
stck_llam: stock.stck_llam,
};
}

Expand Down

0 comments on commit a02a4fa

Please sign in to comment.