Skip to content

Commit

Permalink
Update ws_domestic_future.py
Browse files Browse the repository at this point in the history
  • Loading branch information
koreainvestment authored Jul 25, 2024
1 parent e8ef9de commit 87994a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions websocket/python/ws_domestic_future.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,9 @@ async def connect():
# await asyncio.sleep(0.2)

elif trid0 == "H0ZFANC0": # 주식선물 예상체결 데이터 처리
print("#### 주식선물 예상체결 ####")
data_cnt = int(recvstr[2]) # 체결데이터 개수
stocksexppurchase_stockfuts(data_cnt, recvstr[3])
print("#### 주식선물 예상체결 ####")
data_cnt = int(recvstr[2]) # 체결데이터 개수
stocksexppurchase_stockfuts(data_cnt, recvstr[3])

elif trid0 == "H0ZOCNT0": # 주식옵션 체결 데이터 처리
print("#### 주식옵션 체결 ####")
Expand Down Expand Up @@ -630,4 +630,4 @@ async def main():
except Exception:
print("Exception 발생!")
print(traceback.format_exc())
sys.exit(-200)
sys.exit(-200)

0 comments on commit 87994a8

Please sign in to comment.