init
This commit is contained in:
@@ -373,9 +373,7 @@ class StockCrawler:
|
||||
|
||||
arr = line.split("\t")
|
||||
if arr[0] == lastDay:
|
||||
cursor.close()
|
||||
conn.close()
|
||||
return
|
||||
break
|
||||
|
||||
price = {"DATE": arr[0], "close": float(arr[1]), "diff": float(arr[6].replace("%", "")), "open": float(arr[2]), "high": float(arr[3]), "low": float(arr[4]), "volume": 0}
|
||||
price['avg3'] = 0
|
||||
|
||||
Reference in New Issue
Block a user