diff --git a/LabelMaker.py b/LabelMaker.py index 772bd35..4b1224a 100644 --- a/LabelMaker.py +++ b/LabelMaker.py @@ -46,16 +46,18 @@ if __name__ == "__main__": labelMaker = LabelMaker(RESOURCE_PATH) - MODE = "WRITE" + MODE = "UPDATE" if MODE == "UPDATE": # 매일 입력하면서 정답 셋 만들기 - stock_code = "122630" - ymd = '20220801' - - #labelMaker.clearLabel(stock_code, ymd) - #labelMaker.update(stock_code, ymd, "0933", 1) - #labelMaker.update(stock_code, ymd, "0935", 2) + stock_code = "252670" + ymd = '20220818' + labelMaker.clearLabel(stock_code, ymd) + labelMaker.update(stock_code, ymd, "0928", 1) + labelMaker.update(stock_code, ymd, "0929", 1) + labelMaker.update(stock_code, ymd, "1359", 1) + labelMaker.update(stock_code, ymd, "1400", 1) + labelMaker.update(stock_code, ymd, "1401", 1) labelMaker.showLabels(stock_code, ymd) else: diff --git a/Simulation.py b/Simulation.py index 88af09b..4fdc900 100644 --- a/Simulation.py +++ b/Simulation.py @@ -179,17 +179,8 @@ if __name__ == "__main__": # to check bying stock_codes = { - "252670": ['20220801', '20220802', '20220803', '20220804', - '20220805', '20220808', '20220809', '20220810', '20220811', - '20220812', '20220816', '20220817'], - "122630": ['20220801', '20220802', '20220803', '20220804', - '20220805', '20220808', '20220809', '20220810', '20220811', - '20220812', '20220816', '20220817'], - } - stock_codes = { - "122630": ['20220801', '20220802', '20220803', '20220804', - '20220805', '20220808', '20220809', '20220810', '20220811', - '20220812', '20220816', '20220817'], + "252670": ['20220818'], + "122630": ['20220818'], } method = "rule" # "rule", "ml", "answer" diff --git a/resources/hts.db b/resources/hts.db index c070aa3..d68cdb6 100644 Binary files a/resources/hts.db and b/resources/hts.db differ