Update test strategy to ensure we're using stake_amount

This commit is contained in:
Matthias
2023-08-07 06:59:16 +02:00
parent 096df99ba3
commit 4b07720d0b

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].safe_cost, 0)
return round(orders[0].stake_amount, 0)
return None