Fix test mypy errors

This commit is contained in:
Matthias
2023-03-02 06:23:01 +01:00
parent b4b8dde4fb
commit b980f45b2b
3 changed files with 8 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ class StrategyTestV3(IStrategy):
if current_profit < -0.0075:
orders = trade.select_filled_orders(trade.entry_side)
return round(orders[0].cost, 0)
return round(orders[0].safe_cost, 0)
return None