init
This commit is contained in:
@@ -824,8 +824,8 @@ class AnalyzerSqlite:
|
||||
result = cursor.fetchone()
|
||||
|
||||
sql = 'SELECT ymd, close, diff, open, high, low, volume FROM ' + stockTableName + ' where CODE=? order by ymd desc '
|
||||
if result is not None:
|
||||
sql += ' limit 300'
|
||||
#if result is not None:
|
||||
# sql += ' limit 300'
|
||||
cursor.execute(sql, (stock['CODE'],))
|
||||
items = cursor.fetchall()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user