This commit is contained in:
dsyoon
2023-02-12 00:28:13 +09:00
parent 4010d1cc78
commit 426ca43ff7
5 changed files with 81 additions and 22 deletions

View File

@@ -575,7 +575,7 @@ class StockStatus (HTS):
dir_name = os.path.join(outPath, "99_daily_auto_trading")
if os.path.isdir(dir_name):
os.rmdir(dir_name)
shutil.rmtree(dir_name)
os.mkdir(dir_name)
today = datetime.today().strftime('%Y%m%d')