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__":
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")