Merge pull request #3126 from freqtrade/max_drawdown_percent
[minor] Plot percent correctly
This commit is contained in:
commit
92bd550851
@ -136,8 +136,8 @@ def add_max_drawdown(fig, row, trades: pd.DataFrame, df_comb: pd.DataFrame) -> m
|
|||||||
df_comb.loc[lowdate, 'cum_profit'],
|
df_comb.loc[lowdate, 'cum_profit'],
|
||||||
],
|
],
|
||||||
mode='markers',
|
mode='markers',
|
||||||
name=f"Max drawdown {max_drawdown:.2f}%",
|
name=f"Max drawdown {max_drawdown * 100:.2f}%",
|
||||||
text=f"Max drawdown {max_drawdown:.2f}%",
|
text=f"Max drawdown {max_drawdown * 100:.2f}%",
|
||||||
marker=dict(
|
marker=dict(
|
||||||
symbol='square-open',
|
symbol='square-open',
|
||||||
size=9,
|
size=9,
|
||||||
|
Loading…
Reference in New Issue
Block a user