Fix backtesting missing filled amounts in orders.

This commit is contained in:
Reigo Reinmets 2022-01-10 20:30:40 +02:00
parent 26f2db4777
commit 3b7167ab07
1 changed files with 1 additions and 0 deletions

View File

@ -531,6 +531,7 @@ class Backtesting:
price=propose_rate,
average=propose_rate,
amount=amount,
filled=amount,
cost=stake_amount + trade.fee_open
)
trade.orders.append(order)