fix buy filled date none

This commit is contained in:
adriance 2022-03-14 11:55:36 +08:00
parent 3d9c55d519
commit f9e93cf3f8

View File

@ -302,7 +302,7 @@ class LocalTrade():
amount: float = 0.0 amount: float = 0.0
amount_requested: Optional[float] = None amount_requested: Optional[float] = None
open_date: datetime open_date: datetime
buy_filled_date: datetime buy_filled_date: Optional[datetime] = None
close_date: Optional[datetime] = None close_date: Optional[datetime] = None
open_order_id: Optional[str] = None open_order_id: Optional[str] = None
# absolute value of the stop loss # absolute value of the stop loss