diff --git a/HTS_daily.py b/HTS_daily.py index bbf2a96..a4d8dd9 100644 --- a/HTS_daily.py +++ b/HTS_daily.py @@ -94,6 +94,9 @@ class HTS_DAILY (HTS): conn.close() for idx, item in enumerate(items): + if datetime.strptime(today + " 090000", '%Y%m%d %H%M%S') < THIS_TIME < datetime.strptime(today + " 151500", '%Y%m%d %H%M%S'): + continue + stock_code = item[0] stock_name = item[1] if ((stock_name.find('스팩') >= 0 or diff --git a/resources/hts.db b/resources/hts.db index 53efbd8..68e5ba5 100644 Binary files a/resources/hts.db and b/resources/hts.db differ