-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Issue
I believe their might be a mismatch between the AccountStreamDataModel (more specifically the OpenOrderModel) in the SDK, and the response returned from the API.
I often see the following error when subscribing to account updates.
2025-11-13 12:48:58,939 - ERROR - Websocket disconnected: 1 validation error for WrappedStreamResponse[AccountStreamDataModel]
data.orders.0.price
Field required [type=missing, input_value={'id': 198904203008855654... 'GTT', 'payedFee': '0'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.12/v/missing
I'm on SDK version 0.0.17
Solution
Not sure what the intended behavior is, but I think either the price should be optional in the model or the API should include a price in the response.
Metadata
Metadata
Assignees
Labels
No labels