This commit is contained in:
dsyoon
2021-09-24 09:06:50 +09:00
parent c66d43cb0e
commit 7019aff47f

View File

@@ -271,7 +271,7 @@ class HTS:
if (objRq.Continue == False):
break
return jangoList
return jangoDic
# 예약 주문 내역 조회 및 미체결 리스트 구하기
def requestOrderList(self):
@@ -406,7 +406,7 @@ class HTS:
objStockChart = win32com.client.Dispatch("CpSysDib.StockChart")
objStockChart.SetInputValue(0, 'A'+stock_code) # 종목 코드
objStockChart.SetInputValue(1, ord('2')) # 1: 기간으로 조회, 2: 개수로 조회
objStockChart.SetInputValue(1, ord('1')) # 1: 기간으로 조회, 2: 개수로 조회
objStockChart.SetInputValue(2, given_day) # 기간 조회 시, 시작일
objStockChart.SetInputValue(3, given_day) # 기간 조회 시, 종료일
objStockChart.SetInputValue(4, 400) # 조회 시 가져오는 Line 개수