Skip to content

Commit

Permalink
add param
Browse files Browse the repository at this point in the history
  • Loading branch information
“VincentCai” committed Jul 15, 2024
1 parent 74e3662 commit d84f607
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions huobi/model/trade/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def __init__(self):
self.filled_cash_amount = 0.0
self.filled_fees = 0.0
self.source = OrderSource.INVALID
self.canceled_source = ""
self.state = OrderState.INVALID
self.client_order_id = ""
self.stop_price = ""
Expand Down Expand Up @@ -78,6 +79,7 @@ def print_object(self, format_data=""):
PrintBasic.print_basic(self.filled_fees, format_data + "Filled Fees")
#PrintBasic.print_basic(self.account_type, format_data + "Account Type")
PrintBasic.print_basic(self.source, format_data + "Order Source")
PrintBasic.print_basic(self.canceled_source, format_data + "Canceled Source")
PrintBasic.print_basic(self.state, format_data + "Order State")
PrintBasic.print_basic(self.client_order_id, format_data + "Client Order Id")
PrintBasic.print_basic(self.stop_price, format_data + "Stop Price")
Expand Down

0 comments on commit d84f607

Please sign in to comment.