Merge pull request #9153 from freqtrade/rpc/drawdown

Add better drawdown metrics to /profit outputs
This commit is contained in:
Matthias
2023-09-07 06:33:15 +02:00
committed by GitHub
4 changed files with 27 additions and 3 deletions

View File

@@ -977,6 +977,10 @@ def test_api_profit(botclient, mocker, ticker, fee, markets, is_short, expected)
'expectancy_ratio': expected['expectancy_ratio'],
'max_drawdown': ANY,
'max_drawdown_abs': ANY,
'max_drawdown_start': ANY,
'max_drawdown_start_timestamp': ANY,
'max_drawdown_end': ANY,
'max_drawdown_end_timestamp': ANY,
'trading_volume': expected['trading_volume'],
'bot_start_timestamp': 0,
'bot_start_date': '',