File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def __init__(
85
85
86
86
"""
87
87
self .otype = type_
88
- self .account = None
88
+ self .account : str = None
89
89
self .orderid = None
90
90
self ._status = None
91
91
@@ -222,7 +222,7 @@ def set_orderid(self, orderid):
222
222
"""
223
223
self .orderid = orderid
224
224
225
- def set_account (self , account ):
225
+ def set_account (self , account : str ):
226
226
"""Specifies the account used to execute an order.
227
227
228
228
Users shouldn't really need to use this under normal circumstances, this
@@ -231,7 +231,7 @@ def set_account(self, account):
231
231
Can be viewed at obj.account
232
232
233
233
"""
234
- self .account = int ( str (account )[:8 ])
234
+ self .account = str (account )[:8 ]
235
235
236
236
def set_symbol (self , symbol : str ):
237
237
"""Sets the order's instrument.
You can’t perform that action at this time.
0 commit comments