This commit is contained in:
dosang.yoon
2022-08-18 16:59:29 +09:00
parent 8505ec743d
commit 19c3acc403
3 changed files with 11 additions and 18 deletions

View File

@@ -46,16 +46,18 @@ if __name__ == "__main__":
labelMaker = LabelMaker(RESOURCE_PATH) labelMaker = LabelMaker(RESOURCE_PATH)
MODE = "WRITE" MODE = "UPDATE"
if MODE == "UPDATE": if MODE == "UPDATE":
# 매일 입력하면서 정답 셋 만들기 # 매일 입력하면서 정답 셋 만들기
stock_code = "122630" stock_code = "252670"
ymd = '20220801' ymd = '20220818'
#labelMaker.clearLabel(stock_code, ymd)
#labelMaker.update(stock_code, ymd, "0933", 1)
#labelMaker.update(stock_code, ymd, "0935", 2)
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) labelMaker.showLabels(stock_code, ymd)
else: else:

View File

@@ -179,17 +179,8 @@ if __name__ == "__main__":
# to check bying # to check bying
stock_codes = { stock_codes = {
"252670": ['20220801', '20220802', '20220803', '20220804', "252670": ['20220818'],
'20220805', '20220808', '20220809', '20220810', '20220811', "122630": ['20220818'],
'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'],
} }
method = "rule" # "rule", "ml", "answer" method = "rule" # "rule", "ml", "answer"

Binary file not shown.