-
-
Notifications
You must be signed in to change notification settings - Fork 77
Description
안녕하세요.
오늘 처음 설치하고 시험해보는데 잘 만들어진 프로그램이고 안정화되면 좋을 것 같아요.
main_scenario.py 를 실행해보고 있는데 '5. 조건검색 예시'에서 오류가 발생합니다.
추적해보니 계정에서 등록한 조건검색은 잘 가져왔는데 다음과 같은 메시지로 오류 발생합니다.
========================================================================
2023-01-02 18:26:47,383 [INFO] Getting stock codes with condition: 최근장대양봉 - :12
Output exceeds the size limit. Open the full output data in a text editor
_MultiThreadedRendezvous Traceback (most recent call last)
d:\0.work\program\secu\koapy\koapy\examples\06_main_scenario.py in line 13
113 # condition_name = "대형 저평가 우량주"
115 logging.info("Getting stock codes with condition: %s", condition_name)
---> 116 codes, info = entrypoint.GetCodeListByCondition(condition_name, with_info=True)
118 print(codes)
119 print(info)
File D:\0.work\program\secu\koapy\koapy\backend\kiwoom_open_api_plus\grpc\KiwoomOpenApiPlusServiceClientStubWrapper.py:1298, in KiwoomOpenApiPlusServiceClientStubExtendedWrapper.GetCodeListByCondition(self, condition_name, condition_index, with_info, is_future_option, request_name, screen_no)
1295 records = []
1296 remove_zeros_width = None
-> 1298 for response in self.ConditionCall(
1299 screen_no,
1300 condition_name,
1301 condition_index,
1302 search_type,
1303 with_info,
1304 is_future_option,
1305 request_name,
1306 ):
1307 if response.name == "OnReceiveTrCondition":
1308 code_list = response.arguments[1].string_value
File d:\miniconda3\envs\koapy\lib\site-packages\grpc_channel.py:426, in _Rendezvous.next(self)
...
_MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Exception iterating responses: 'str' object has no attribute 'name'"
debug_error_string = "UNKNOWN:Error received from peer ipv4:127.0.0.1:5943 {grpc_message:"Exception iterating responses: 'str' object has no attribute 'name'", grpc_status:2, created_time:"2023-01-02T09:30:07.704446572+00:00"}"