Update trade response to use a single Order object

This commit is contained in:
Matthias
2022-02-27 16:54:14 +01:00
parent 17c9c3caf3
commit e9456cdf15
7 changed files with 15 additions and 26 deletions

View File

@@ -240,8 +240,7 @@ class TradeSchema(BaseModel):
min_rate: Optional[float]
max_rate: Optional[float]
open_order_id: Optional[str]
filled_entry_orders: List[OrderSchema]
filled_exit_orders: List[OrderSchema]
orders: List[OrderSchema]
class OpenTradeSchema(TradeSchema):