Skip to content

Conversation

Soju06
Copy link
Owner

@Soju06 Soju06 commented Nov 5, 2024

🛠️ PR Summary

🌟 요약

어떤 것이 변경되었나요? 간략히 설명해주세요.

국내주식 시세조회의 업종명이 없을때 발생하는 버그를 수정했습니다.

📊 주요 변경 사항

주요 변경 사항을 적어주세요.

  • pykis/api/stock/quote.py에서 sector_name을 optional로 변경하고 bstp_kor_isnm 필드의 기본값을 None로 설정했습니다.
  • pykis/api/stock/info.py의 repr에서 잘못된 속성 eng_namename_eng로 변경했습니다.

🎯 목적 및 영향

  • 목적: 왜 이 PR이 필요한가요?
    업종명이 없는 종목의 조회시 오류가 발생하는 문제를 해결했습니다.

  • 영향: 이 변경 사항이 어떤 영향을 미치나요?
    국내주식 시세조회 및 KisStockInfo의 repr가 정상적으로 작동합니다.

@Soju06 Soju06 self-assigned this Nov 5, 2024
@Soju06 Soju06 linked an issue Nov 5, 2024 that may be closed by this pull request
2 tasks
@Soju06 Soju06 merged commit c75dd86 into main Nov 5, 2024
1 check passed
@Soju06 Soju06 deleted the fix/48-missing-sector-name branch November 5, 2024 00:28
@Soju06 Soju06 added the 버그 뭔가 작동하지 않습니다. label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
버그 뭔가 작동하지 않습니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[버그]: krx 주식 002170 정보를 quote 로 가져올 때 발생하는 버그
1 participant