This commit is contained in:
dsyoon
2021-09-27 14:29:45 +09:00
parent bac72f49de
commit 2ddda7bdf3

View File

@@ -644,7 +644,7 @@ class HTS:
"low": [], "low": [],
"vol": []} "vol": []}
while datetime.strptime(given_day + " 083000", '%Y%m%d %H%M%S') < datetime.now() < datetime.strptime(given_day + " 151500", '%Y%m%d %H%M%S'): while datetime.strptime(given_day + " 083000", '%Y%m%d %H%M%S') < datetime.now() < datetime.strptime(given_day + " 151000", '%Y%m%d %H%M%S'):
second = datetime.now().strftime('%Y%m%d %H%M%S') second = datetime.now().strftime('%Y%m%d %H%M%S')
if second in timecheck and not timecheck[second]: if second in timecheck and not timecheck[second]: