From 736884c5a909b22a98428a2c2953413820d2840d Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 9 Aug 2022 20:43:58 +0200 Subject: [PATCH] Orders should be allowed to have empty fill/remaining values --- freqtrade/rpc/api_server/api_schemas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/rpc/api_server/api_schemas.py b/freqtrade/rpc/api_server/api_schemas.py index 333f2fe6e..8f4066ac7 100644 --- a/freqtrade/rpc/api_server/api_schemas.py +++ b/freqtrade/rpc/api_server/api_schemas.py @@ -194,11 +194,11 @@ class OrderSchema(BaseModel): pair: str order_id: str status: str - remaining: float + remaining: Optional[float] amount: float safe_price: float cost: float - filled: float + filled: Optional[float] ft_order_side: str order_type: str is_open: bool