Skip to content
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: 해외 주식 매수, 매도 기능 구현(#67) #68

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

yooooonshine
Copy link
Member

issue

구현 의도

기존 국내 주식 서비스에서 해외주식 구매까지 확장하려한다.
따라서 기존의 주식 -> 국내 주식으로 변경하고, 해외주식 구매 코드를 구현한다.

구현 사항

기존 stock -> domesticStock으로 변경

미국 주식 매수, 매도 기능

image
webClient를 통해 주식 주문 기능을 구현하였다.

🫡 참고사항

  • 미국 주식은 시장가 구매 기능이 없다. 따라서 지정가만 가능하므로 별도로 가격 조회하는 기능을 넣어야 한다.
  • 주식 주문 기능은 webClient를 호출한 이후로는 추가로 로직이 진행되고 있지 않다. 따라서 이를 비동기화해 성능을 개선할 수 있을 거 같다.

@yooooonshine yooooonshine linked an issue Sep 30, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ 해외 주식 주문 기능 구현
1 participant