improve order REPR display
This commit is contained in:
parent
9573974c47
commit
c03c3a5706
@ -120,8 +120,9 @@ class Order(ModelBase):
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
return (f'Order(id={self.id}, order_id={self.order_id}, trade_id={self.ft_trade_id}, '
|
||||
f'side={self.side}, order_type={self.order_type}, status={self.status})')
|
||||
return (f"Order(id={self.id}, order_id={self.order_id}, trade_id={self.ft_trade_id}, "
|
||||
f"side={self.side}, filled={self.safe_filled}, price={self.safe_price}, "
|
||||
f"order_type={self.order_type}, status={self.status})")
|
||||
|
||||
def update_from_ccxt_object(self, order):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user