added rounding to Tot Profit % on Sell Reasosn table to be consistent with other percentiles on table.
This commit is contained in:
parent
e2b3907df5
commit
907a61152c
@ -93,7 +93,7 @@ def generate_text_table_sell_reason(
|
||||
profit_mean = round(result['profit_percent'].mean() * 100.0, 2)
|
||||
profit_sum = round(result["profit_percent"].sum() * 100.0, 2)
|
||||
profit_tot = result["profit_abs"].sum()
|
||||
profit_percent_tot = result["profit_percent"].sum() * 100.0 / max_open_trades
|
||||
profit_percent_tot = round(result["profit_percent"].sum() * 100.0 / max_open_trades, 2)
|
||||
tabular_data.append(
|
||||
[
|
||||
reason.value,
|
||||
|
Loading…
Reference in New Issue
Block a user