Fix minor issue where amount could be empty in rest calls

This commit is contained in:
Matthias 2023-01-31 20:38:18 +01:00
parent 50d3b7bdef
commit 448505fbfb
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class Order(_DECL_BASE):
def to_json(self, entry_side: str, minified: bool = False) -> Dict[str, Any]:
resp = {
'amount': self.amount,
'amount': self.safe_amount,
'safe_price': self.safe_price,
'ft_order_side': self.ft_order_side,
'order_filled_timestamp': int(self.order_filled_date.replace(