Merge pull request #309 from pikers/no_orderid_in_error
Allow `None` for `BrokerdError.reqid`l1_precision_fix
commit
c849bb9c4c
|
@ -242,7 +242,7 @@ class BrokerdError(BaseModel):
|
|||
|
||||
# if no brokerd order request was actually submitted (eg. we errored
|
||||
# at the ``pikerd`` layer) then there will be ``reqid`` allocated.
|
||||
reqid: Union[int, str] = ''
|
||||
reqid: Optional[Union[int, str]] = None
|
||||
|
||||
symbol: str
|
||||
reason: str
|
||||
|
|
Loading…
Reference in New Issue