Fix missing order time info in backtesting.
This commit is contained in:
parent
daee59f4f1
commit
e67a54f7a9
@ -531,6 +531,9 @@ class Backtesting:
|
||||
side="buy",
|
||||
order_type="market",
|
||||
status="closed",
|
||||
order_date=row[DATE_IDX].to_pydatetime(),
|
||||
order_filled_date=row[DATE_IDX].to_pydatetime(),
|
||||
order_update_date=row[DATE_IDX].to_pydatetime(),
|
||||
price=propose_rate,
|
||||
average=propose_rate,
|
||||
amount=amount,
|
||||
|
Loading…
Reference in New Issue
Block a user