mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Update test strategy to ensure we're using stake_amount
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user