diff --git a/stockpredictor/analysis/Analyzer.py b/stockpredictor/analysis/Analyzer.py index a99da27..6d4173a 100644 --- a/stockpredictor/analysis/Analyzer.py +++ b/stockpredictor/analysis/Analyzer.py @@ -564,7 +564,7 @@ class Analyzer: outFp = open("inout.cvs", mode='w') for check_index in range(365): idx = 365 - check_index - 1 - outFp.write("%d,%d,%d %4.2f\n" % (idx, inde_check[idx][0], inde_check[idx][1], inde_check[idx][0]*100/(inde_check[idx][0]+inde_check[idx][1]))) + outFp.write("%d,%d,%d,%4.2f\n" % (idx, inde_check[idx][0], inde_check[idx][1], inde_check[idx][0]*100/(inde_check[idx][0]+inde_check[idx][1]))) outFp.close() cursor.close()