fewfwe
This commit is contained in:
@@ -275,7 +275,7 @@ class WeexTransaction:
|
||||
else:
|
||||
self.pbar.n = current_minute - 30
|
||||
self.pbar.refresh()
|
||||
|
||||
current_minute = 0
|
||||
if current_minute not in [0, 1, 2, 3, 4, 5, 30, 31, 32, 33, 34, 35]: # 判断是否是 新的30分钟了
|
||||
time.sleep(10)
|
||||
continue
|
||||
@@ -300,7 +300,7 @@ class WeexTransaction:
|
||||
self.kline_1, self.kline_2, self.kline_3 = new_price_datas1[-3:]
|
||||
|
||||
# 判断抓取的数据是否正确
|
||||
if self.get_now_time() != self.kline_3[id]:
|
||||
if self.get_now_time() != self.kline_3["id"]:
|
||||
continue
|
||||
|
||||
time.sleep(15)
|
||||
|
||||
Reference in New Issue
Block a user