init
This commit is contained in:
@@ -909,7 +909,7 @@ class AnalyzerSqlite:
|
||||
print("Daily # :", rowid, ", CODE: ", stock['CODE'], ", NAME: ", stock['NAME'])
|
||||
|
||||
sql = 'SELECT ymd, close, diff, open, high, low, volume FROM ' + stockTableName + ' where CODE=? order by ymd desc '
|
||||
sql += ' limit 350'
|
||||
#sql += ' limit 350'
|
||||
cursor.execute(sql, (stock['CODE'],))
|
||||
items = cursor.fetchall()
|
||||
|
||||
@@ -942,7 +942,7 @@ class AnalyzerSqlite:
|
||||
print(type, "# :", rowid, ", CODE: ", stock['CODE'], ", NAME: ", stock['NAME'])
|
||||
|
||||
sql = 'SELECT ymd, close, diff, open, high, low, volume FROM ' + stockTableName + ' where CODE=? order by ymd desc '
|
||||
sql += ' limit 350'
|
||||
#sql += ' limit 350'
|
||||
cursor.execute(sql, (stock['CODE'],))
|
||||
items = cursor.fetchall()
|
||||
|
||||
@@ -1016,4 +1016,3 @@ if __name__ == "__main__":
|
||||
|
||||
print("time : %6.2f 초" % (time.time() - start))
|
||||
print("done...")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user