Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| developers:websocket:accounts [2025/03/14 23:22] – chad | developers:websocket:accounts [2025/03/15 13:18] (current) – chad | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| The server sends account-related updates as separate messages. These include: | The server sends account-related updates as separate messages. These include: | ||
| + | * **AccountSubscribeResponse** – A response message indicating whether the account subscription was successful or not. | ||
| + | * **AccountSnapshot** – A batch message containing the latest state of the account. | ||
| * **AccountDetails** – Provides static information about the account. | * **AccountDetails** – Provides static information about the account. | ||
| * **AccountUpdate** – Sends real-time updates for account values. | * **AccountUpdate** – Sends real-time updates for account values. | ||
| * **AccountPosition** – Reports current open positions. | * **AccountPosition** – Reports current open positions. | ||
| - | * **AccountSnapshot** – A batch message containing the latest state of the account. | ||
| * **OrderUpdateMulti** – Sends batch updates for a position. | * **OrderUpdateMulti** – Sends batch updates for a position. | ||
| + | * **MarketDetails** – Market details are always sent before a new position is sent to ensure the client has the altest pricing details for the market. | ||
| Example message handling structure: | Example message handling structure: | ||