mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
parent
e4cd29d88c
commit
17296fdf9c
|
@ -901,7 +901,7 @@ class Backtesting:
|
|||
amount=amount,
|
||||
filled=0,
|
||||
remaining=amount,
|
||||
cost=stake_amount + trade.fee_open,
|
||||
cost=amount * propose_rate + trade.fee_open,
|
||||
)
|
||||
trade.orders.append(order)
|
||||
if pos_adjust and self._get_order_filled(order.ft_price, row):
|
||||
|
|
Loading…
Reference in New Issue
Block a user