Skip to content

Commit

Permalink
✨ feat: 주식 현재가 API에 사용할 interface, dto 구현#54
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuo3o authored and jinddings committed Nov 14, 2024
1 parent 764de7b commit 98b8b57
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ApiProperty } from '@nestjs/swagger';

export class InquirePriceOutput1Dto {
export class InquirePriceResponseDto {
@ApiProperty({ description: 'HTS 한글 종목명' })
hts_kor_isnm: string;

Expand Down
84 changes: 84 additions & 0 deletions BE/src/stock/detail/interface/stock-detail.interface.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
export interface InquirePriceOutputData {
iscd_stat_cls_code: string;
marg_rate: string;
rprs_mrkt_kor_name: string;
new_hgpr_lwpr_cls_code: string;
btsp_kor_isnm: string;
temp_stop_yn: string;
oprc_rang_cont_yn: string;
clpr_rang_cont_yn: string;
crdt_able_yn: string;
grmn_rate_cls_code: string;
elw_pblc_yn: string;
stck_prpr: string;
prdy_vrss: string;
prdy_vrss_sign: string;
prdy_ctrt: string;
acml_tr_pbmn: string;
acml_vol: string;
prdy_vrss_vol_rate: string;
stck_oprc: string;
stck_hgpr: string;
stck_lwpr: string;
stck_mxpr: string;
stck_llam: string;
stck_sdpr: string;
wghn_avrg_stck_prc: string;
hts_frgn_ehrt: string;
frgn_ntby_qty: string;
pgtr_ntby_qty: string;
dmrs_val: string;
dmsp_val: string;
cpfn: string;
rstc_wdth_prc: string;
stck_fcam: string;
stck_sspr: string;
aspr_unit: string;
hts_deal_qty_unit_val: string;
lstn_stcn: string;
hts_avls: string;
per: string;
pbr: string;
stac_month: string;
vol_tnrt: string;
eps: string;
bps: string;
d250_hgpr: string;
d250_hgpr_date: string;
d250_hgpr_vrss_prpr_rate: string;
d250_lwpr: string;
d250_lwpr_date: string;
d250_lwpr_vrss_prpr_rate: string;
stck_dryy_hgpr: string;
dryy_hgpr_vrss_prpr_rate: string;
dryy_hgpr_date: string;
stck_dryy_lwpr: string;
dryy_lwpr_vrss_prpr_rate: string;
dryy_lwpr_date: string;
w52_hgpr: string;
w52_hgpr_vrss_prpr_ctrt: string;
w52_hgpr_date: string;
w52_lwpr: string;
w52_lwpr_vrss_prpr_ctrt: string;
w52_lwpr_date: string;
whol_loan_rmnd_rate: string;
ssts_yn: string;
stck_shrn_iscd: string;
fcam_cnnm: string;
cpfn_cnnm: string;
apprch_rate: string;
frgn_hldn_qty: string;
vi_cls_code: string;
ovtm_vi_cls_code: string;
last_ssts_cntg_qty: string;
invt_caful_yn: string;
mrkt_warn_cls_code: string;
short_over_yn: string;
sltr_yn: string;
}
export interface InquirePriceApiResponse {
output: InquirePriceOutputData;
rt_cd: string;
msg_cd: string;
msg1: string;
}

0 comments on commit 98b8b57

Please sign in to comment.