This commit is contained in:
dosangyoon
2022-02-19 14:59:47 +09:00
parent 5b2232e30f
commit 8b307ce801
5 changed files with 119 additions and 452 deletions

View File

@@ -568,12 +568,6 @@ class Analyzer:
cursor.execute('SELECT CODE, NAME, PRICE, STOCHASTIC, BOLINGERBAND FROM ' + self.tableName + ' WHERE rowid=?', (rowid,))
result = cursor.fetchone()
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.close()
cursor.close()
conn.close()