init
This commit is contained in:
@@ -711,11 +711,11 @@ class Common:
|
||||
|
||||
def buy_stock_dail5_5_20(self, stock_daily):
|
||||
|
||||
if stock_daily['avg5'][1] < stock_daily['avg20'][1] and stock_daily['avg20'][0] < stock_daily['avg5'][1]:
|
||||
if stock_daily['avg5'][1] < stock_daily['avg20'][1] and stock_daily['avg20'][0] < stock_daily['avg5'][0]:
|
||||
if stock_daily['avg20'][0] < stock_daily['avg5'][0] < stock_daily['avg40'][0]:
|
||||
return True
|
||||
|
||||
if stock_daily['avg5'][1] < stock_daily['avg20'][1] and stock_daily['avg20'][0] < stock_daily['avg5'][1]:
|
||||
if stock_daily['avg5'][1] < stock_daily['avg20'][1] and stock_daily['avg20'][0] < stock_daily['avg5'][0]:
|
||||
return True
|
||||
|
||||
return False
|
||||
Reference in New Issue
Block a user