Add Drawdown and profit_factor to /profit

#6816
This commit is contained in:
Matthias
2022-06-18 11:14:28 +02:00
parent d77ce468ea
commit 6a15d36d14
6 changed files with 51 additions and 8 deletions

View File

@@ -104,6 +104,9 @@ class Profit(BaseModel):
best_pair_profit_ratio: float
winning_trades: int
losing_trades: int
profit_factor: float
max_drawdown: float
max_drawdown_abs: float
class SellReason(BaseModel):