init
This commit is contained in:
@@ -501,7 +501,7 @@ class Common:
|
||||
c_index = 200
|
||||
|
||||
max_volume = max(stock['volume'][1:c_index+1])
|
||||
if max_volume < stock['volume'][0] and stock['close'][1] < stock['close'][0]:
|
||||
if 0 < max_volume < stock['volume'][0] and stock['close'][1] < stock['close'][0]:
|
||||
log = "{:.2f}".format(stock['volume'][0]/max_volume)
|
||||
return True, log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user