Skip to content

[질문]: order 객체를 분실했을 때, order 객체를 다시 가져올 수 있는 방법이 있을까요? #45

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

Closed
1 task done
CHOIgoung opened this issue Oct 7, 2024 · 0 comments · Fixed by #51
Assignees
Labels
버그 뭔가 작동하지 않습니다. 질문 추가 정보가 필요합니다.

Comments

@CHOIgoung
Copy link

빠른 문제 해결을 위해 다음을 확인했나요?

  • PyKis Issues에서 검색했지만 유사한 질문을 찾지 못했습니다.

질문 내용

해외 주식의 경우

for order in account.pending_orders():
order.cancel()

코드가 제대로 작동하지 않습니다.

AttributeError: 'KisForeignPendingOrder' object has no attribute 'cancel' 오류가 발생합니다.

KisForeignOrder객체를 주문번호등으로 다시 받아올 수 있다면 취소가 가능할 것 같아 질문드립니다.

코딩에 아직 미숙해서 기초적인 질문 드리는점, 죄송합니다.

추가 정보

No response

@CHOIgoung CHOIgoung added the 질문 추가 정보가 필요합니다. label Oct 7, 2024
@Soju06 Soju06 added the 버그 뭔가 작동하지 않습니다. label Nov 5, 2024
@Soju06 Soju06 self-assigned this Nov 5, 2024
@Soju06 Soju06 linked a pull request Nov 5, 2024 that will close this issue
@Soju06 Soju06 closed this as completed in #51 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 a pull request may close this issue.

2 participants