This commit is contained in:
dsyoon
2023-04-27 23:50:15 +09:00
parent 2104236d8f
commit 44225e9862

View File

@@ -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