koapy.backend.kiwoom_open_api_plus.grpc.event.KiwoomOpenApiPlusLoggingEventHandler

Module Contents

Classes

KiwoomOpenApiPlusLoggingEventHandler

class koapy.backend.kiwoom_open_api_plus.grpc.event.KiwoomOpenApiPlusLoggingEventHandler.KiwoomOpenApiPlusLoggingEventHandler(control)[source]

Bases: koapy.backend.kiwoom_open_api_plus.core.KiwoomOpenApiPlusEventHandler.KiwoomOpenApiPlusEventHandler, koapy.utils.logging.Logging.Logging

OnReceiveTrData(scrnno, rqname, trcode, recordname, prevnext, _datalength, _errorcode, _message, _splmmsg)[source]
OnReceiveRealData(code, realtype, realdata)[source]
OnReceiveMsg(scrnno, rqname, trcode, msg)[source]

[OnReceiveMsg()이벤트]

OnReceiveMsg( BSTR sScrNo, // 화면번호 BSTR sRQName, // 사용자 구분명 BSTR sTrCode, // TR이름 BSTR sMsg // 서버에서 전달하는 메시지 )

서버통신 후 수신한 메시지를 알려줍니다. 메시지에는 6자리 코드번호가 포함되는데 이 코드번호는 통보없이 수시로 변경될 수 있습니다. 따라서 주문이나 오류관련처리를 이 코드번호로 분류하시면 안됩니다.

OnReceiveChejanData(gubun, itemcnt, fidlist)[source]
OnEventConnect(errcode)[source]
OnReceiveRealCondition(code, condition_type, condition_name, condition_index)[source]
OnReceiveTrCondition(scrnno, codelist, condition_name, condition_index, prevnext)[source]
OnReceiveConditionVer(ret, msg)[source]