init
This commit is contained in:
@@ -574,6 +574,9 @@ class Common:
|
|||||||
|
|
||||||
def check_optimal_buy_timeing(self, stock):
|
def check_optimal_buy_timeing(self, stock):
|
||||||
|
|
||||||
|
if stock['slow_k'][0] is None:
|
||||||
|
return False
|
||||||
|
|
||||||
max_vol_5 = max(stock['volume'][0: 4])
|
max_vol_5 = max(stock['volume'][0: 4])
|
||||||
max_vol_30 = max(stock['volume'][4: 24])
|
max_vol_30 = max(stock['volume'][4: 24])
|
||||||
if max_vol_30 < max_vol_5:
|
if max_vol_30 < max_vol_5:
|
||||||
|
|||||||
Reference in New Issue
Block a user