This commit is contained in:
dsyoon
2023-07-16 22:48:27 +09:00
parent b24c8d251d
commit 617e9b0ddf

View File

@@ -228,7 +228,7 @@ if __name__ == "__main__":
stockFileName = os.path.join(RESOURCE_PATH, 'stock.db')
stockPriceDirectionAnalyzer = StockPriceDirectionAnalyzer(stockFileName)
corr_scores = stockPriceDirectionAnalyzer.analyze(master_code='252670')
corr_scores = stockPriceDirectionAnalyzer.analyze(master_code='122630')
corr_scores_list = sorted(corr_scores.items(), key=lambda item: item[1], reverse=True)
for item in corr_scores_list:
print("%s %4.3f" % (item[0], item[1]))