This commit is contained in:
dsyoon
2021-09-17 22:01:08 +09:00
parent 50412a2320
commit c4cda59eb8
2 changed files with 454 additions and 3 deletions

View File

@@ -209,6 +209,7 @@ if __name__ == "__main__":
PROJECT_HOME = os.path.join(os.path.dirname(os.path.join(os.path.dirname(__file__))))
RESOURCE_DIR = PROJECT_HOME + "/resources/analysis/"+today.strftime("%Y%m%d")
"""
files = os.listdir(RESOURCE_DIR)
stocks = []
@@ -224,10 +225,10 @@ if __name__ == "__main__":
name = arrTemp[0]
cd = arrTemp[1][:arrTemp[1].find(".")]
stocks.append((flag, p, b, s, state, buy, name, cd))
"""
hts = HTS()
hts.all_stocks()
#hts.all_stocks()
stock_code = "094860"
stock_code = "252670"
hts.currentStock(stock_code)
print ("done...")