Skip to content

Commit

Permalink
OrderStatus fields 'filled' and 'remaining' are float
Browse files Browse the repository at this point in the history
  • Loading branch information
erdewit committed Mar 31, 2021
1 parent ac8e8c7 commit 35fbb86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ib_insync/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ def __init__(self, action, totalQuantity, lmtPrice, stopPrice, **kwargs):
class OrderStatus:
orderId: int = 0
status: str = ''
filled: int = 0
remaining: int = 0
filled: float = 0.0
remaining: float = 0.0
avgFillPrice: float = 0.0
permId: int = 0
parentId: int = 0
Expand Down

0 comments on commit 35fbb86

Please sign in to comment.