This commit is contained in:
Stefano Ariestasia
2023-09-04 11:41:24 +09:00
parent 3fea2a35a2
commit e1b6b9b5a6

View File

@@ -81,7 +81,7 @@ class RecursiveAnalysis:
values_diff_other = values_diff.loc['other']
diff = (values_diff_other - values_diff_self) / values_diff_self * 100
self.dict_recursive[indicator][part.startup_candle] = "{:.3f}%".format(diff)
self.dict_recursive[indicator][part.startup_candle] = f"{diff:.3f}%"
else:
logger.info("No difference found. Stop the process.")