We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
name: 버그 제보 about: 의도 되지 않은 버그를 제보합니다. title: "실시간 해제요청이 정상적으로 되지 않습니다." labels: 버그 assignees: ''
실시간 해제요청이 정상적으로 되지 않습니다.
def _send_request( self, tr_id: str, tr_key: str, tr_type: bool, timeout: int = 10, verbose: bool = True, ) -> KisRTSysResponse | None: id = self._mkid(tr_id, tr_key)
if (id in self.subscribed): return None
id in self.subscribed 에 의해 구독중인지 확인하는데, 구독중인 종목을 해제하고자 하더라도 None을 반환하고 있습니다. 즉 구독 해제를 요청하기도 전에 None을 반환합니다.
if (id in self.subscribed) &(tr_type ==True): return None 등으로 수정하면 해결될 것 같습니다.
파이썬 버전: 3.11
[귀찮으시면 안 써도 돼요...]
The text was updated successfully, but these errors were encountered:
#1 실시간 해제요청 버그 수정
0bff9b3
No branches or pull requests
name: 버그 제보
about: 의도 되지 않은 버그를 제보합니다.
title: "실시간 해제요청이 정상적으로 되지 않습니다."
labels: 버그
assignees: ''
버그 설명
실시간 해제요청이 정상적으로 되지 않습니다.
재구현
def _send_request(
self,
tr_id: str,
tr_key: str,
tr_type: bool,
timeout: int = 10,
verbose: bool = True,
) -> KisRTSysResponse | None:
id = self._mkid(tr_id, tr_key)
id in self.subscribed 에 의해 구독중인지 확인하는데, 구독중인 종목을 해제하고자 하더라도 None을 반환하고 있습니다.
즉 구독 해제를 요청하기도 전에 None을 반환합니다.
원인
if (id in self.subscribed) &(tr_type ==True):
return None
등으로 수정하면 해결될 것 같습니다.
개발 환경
파이썬 버전: 3.11
사용 라이브러리 버전
[귀찮으시면 안 써도 돼요...]
추가 내용
The text was updated successfully, but these errors were encountered: