This commit is contained in:
dsyoon
2023-12-14 09:15:42 +09:00
parent ca91f6e628
commit 1fecd560ab

View File

@@ -420,7 +420,7 @@ class HTS_etf(HTS):
isFirst = 0 isFirst = 0
while datetime.strptime(today + " 060000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 153100",'%Y%m%d %H%M%S'): while datetime.strptime(today + " 060000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 153100",'%Y%m%d %H%M%S'):
if datetime.strptime(today + " 090000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'): if datetime.strptime(today + " 090100", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'):
for stock in stocks: for stock in stocks:
stock_code = stock['stock_code'] stock_code = stock['stock_code']