Account info

Streams all changes made to an account's overall info such as equity, balance, order count, etc.

Refer to Websocket for establishing the websocket connection.

Leverage

Params

{
    "method": "subscribe",
    "params": {
        "source": "account_info",
        "account": "42trU9A5..."
    }
}

Stream

{
    "channel": "account_info",
    "data": {
        "ae": "2000",
        "as": "1500",
        "b": "2000",
        "f": 1,
        "mu": "500",
        "oc": 10,
        "pb": "0",
        "pc": 2,
        "sc": 2,
        "t": 1234567890
    }
}
Field
Type
Description

'ae'

string

Account equity

'as'

string

Available to spend

'b'

string

Account balance

'f'

integer

Account fee tier

'mu'

string

Total margin used

'oc'

integer

Orders count

'pb'

string

Pending balance

'pc'

integer

Positions count

'sc'

integer

Stop order count

't'

number

Timestamp in milliseconds

Last updated