PUBLISH Get Account Status

PUB wss://test-api.synquote.com/ws

Returns information about the aggregate state of the account's portfolio, including balance, equity, and portfolio margining parameters.

REQUEST

HEADER PARAMS

msg_type string required
Message type: get_account_status

id number required
The ID of the request. This is returned in the response header.

version integer required
Version number: 1

BODY PARAMS

account_id string required
The account whose information will be returned in the response.

Example
[
  {
    "msg_type":"get_account_status",
    "id": 1002,
    "version": 1
  },
  {
    "account_id": "0x9f58498b98348b9BFbE53F0E18AA818a4Be0aE49"
  }
]

RESPONSE

balance string
The account balance.

equity string
The account equity.

initial_margin string
The account initial margin.

maintenance_margin string
The account maintenance margin.

Example
[
  {
    "msg_type":"get_account_status_response",
    "id": 1002,
    "version": 1
  },
  {
    "balance": "114748.82",
    "equity": "113725.14",
    "initial_margin": "10209.92",
    "maintenance_margin": "2041.98"
  }
]