This commit is contained in:
dsyoon
2022-09-11 20:42:58 +09:00
parent 1ff0d8665f
commit 09f899d6d0
3 changed files with 3 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ class HTS_122630 (HTS):
if __name__ == "__main__": if __name__ == "__main__":
week = datetime.today().weekday() 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() today = datetime.today()
@@ -184,7 +184,7 @@ if __name__ == "__main__":
hts = HTS_122630(RESOURCE_PATH, stock_code, buy_count) hts = HTS_122630(RESOURCE_PATH, stock_code, buy_count)
today_str = today.strftime('%Y%m%d') today_str = today.strftime('%Y%m%d')
#today_str = "20220906" today_str = "20220908"
hts.buyRealTime(today_str) hts.buyRealTime(today_str)
db_filename = os.path.join(RESOURCE_PATH, "hts.db") db_filename = os.path.join(RESOURCE_PATH, "hts.db")

View File

@@ -186,7 +186,7 @@ if __name__ == "__main__":
hts = HTS_252670(RESOURCE_PATH, stock_code, buy_count) hts = HTS_252670(RESOURCE_PATH, stock_code, buy_count)
today_str = today.strftime('%Y%m%d') today_str = today.strftime('%Y%m%d')
#today_str = "20220906" #today_str = "20220908"
hts.buyRealTime(today_str) hts.buyRealTime(today_str)
db_filename = os.path.join(RESOURCE_PATH, "hts.db") db_filename = os.path.join(RESOURCE_PATH, "hts.db")

Binary file not shown.