Fix backtesting missing filled amounts in orders.
This commit is contained in:
parent
26f2db4777
commit
3b7167ab07
@ -531,6 +531,7 @@ class Backtesting:
|
|||||||
price=propose_rate,
|
price=propose_rate,
|
||||||
average=propose_rate,
|
average=propose_rate,
|
||||||
amount=amount,
|
amount=amount,
|
||||||
|
filled=amount,
|
||||||
cost=stake_amount + trade.fee_open
|
cost=stake_amount + trade.fee_open
|
||||||
)
|
)
|
||||||
trade.orders.append(order)
|
trade.orders.append(order)
|
||||||
|
Loading…
Reference in New Issue
Block a user