This commit is contained in:
dsyoon
2022-09-17 17:59:26 +09:00
parent f5c720cd9e
commit 0524991ca4
3 changed files with 28 additions and 34 deletions

View File

@@ -169,9 +169,6 @@ class HTS_122630 (HTS):
if __name__ == "__main__":
week = datetime.today().weekday()
if week in (0, 1, 2, 3, 4, 5, 6):
today = datetime.today()
PROJECT_HOME = os.getcwd()
@@ -184,7 +181,7 @@ if __name__ == "__main__":
hts = HTS_122630(RESOURCE_PATH, stock_code, buy_count)
today_str = today.strftime('%Y%m%d')
today_str = "20220908"
today_str = "20220916"
hts.buyRealTime(today_str)
db_filename = os.path.join(RESOURCE_PATH, "hts.db")

View File

@@ -171,9 +171,6 @@ class HTS_252670 (HTS):
if __name__ == "__main__":
week = datetime.today().weekday()
if week in (0, 1, 2, 3, 4):
today = datetime.today()
PROJECT_HOME = os.getcwd()
@@ -186,7 +183,7 @@ if __name__ == "__main__":
hts = HTS_252670(RESOURCE_PATH, stock_code, buy_count)
today_str = today.strftime('%Y%m%d')
#today_str = "20220908"
#today_str = "20220916"
hts.buyRealTime(today_str)
db_filename = os.path.join(RESOURCE_PATH, "hts.db")

Binary file not shown.