Balance Info

The Balance Info channel provides data on the total and net assets in your account.

Subscribe to the account information channel to keep track of your account balance. The account information channel will provide a feed of your balance for as long as the channel remains open. Any authenticated connection is automatically subscribed to the account information channel.

Example code to open an authenticated connection can be found on our Authenticated Channels Page.

Balance events are sent with CHAN_ID = 0 and can be identified by looking at the TYPE stream field. Balance update events can be recognised by the 'bu' (balance update) abbreviation.

[
  CHAN_ID,
  TYPE, //'bu'
  [
    AUM,
    AUM_NET,
    ...
  ]
]
 
[0,"bu",[4131.85,4131.85]]

Stream Fields

TermTypeDescription
CHAN_IDintIdentification number for the channel subscribtion. Trade events are always sent through the account information channel with CHAN_ID = 0
TYPEstring'te' (trade executed), 'tu' (trade execution update)
AUMfloatTotal Assets Under Management
AUM_NETfloatNet Assets Under Management (total assets - total liabilities)