This commit is contained in:
dsyoon
2021-07-24 02:34:23 +09:00
parent 11534d0e53
commit 6a97e00e16
2 changed files with 6 additions and 12 deletions

View File

@@ -537,7 +537,7 @@ class Common:
if top - bottom > 0:
energy = (price - bottom) / (top - bottom)
if 0.1 < energy < 0.5:
return "p(" + str(round(energy, 2)) + ")_"
return "p(" + str(round(energy*100, 1)) + ")_"
return ""