init
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user