diff --git a/HTS_122630.py b/HTS_122630.py index a5189e8..51ee2a0 100644 --- a/HTS_122630.py +++ b/HTS_122630.py @@ -170,7 +170,7 @@ class HTS_122630 (HTS): if __name__ == "__main__": week = datetime.today().weekday() - if week in (0, 1, 2, 3, 4): + if week in (0, 1, 2, 3, 4, 5, 6): today = datetime.today() @@ -184,7 +184,7 @@ if __name__ == "__main__": hts = HTS_122630(RESOURCE_PATH, stock_code, buy_count) today_str = today.strftime('%Y%m%d') - #today_str = "20220906" + today_str = "20220908" hts.buyRealTime(today_str) db_filename = os.path.join(RESOURCE_PATH, "hts.db") diff --git a/HTS_252670.py b/HTS_252670.py index b5f6951..35d6436 100644 --- a/HTS_252670.py +++ b/HTS_252670.py @@ -186,7 +186,7 @@ if __name__ == "__main__": hts = HTS_252670(RESOURCE_PATH, stock_code, buy_count) today_str = today.strftime('%Y%m%d') - #today_str = "20220906" + #today_str = "20220908" hts.buyRealTime(today_str) db_filename = os.path.join(RESOURCE_PATH, "hts.db") diff --git a/resources/hts.db b/resources/hts.db index 3956e81..d0550fd 100644 Binary files a/resources/hts.db and b/resources/hts.db differ