Yellow BoxTrading APIv1 · pre-release

User Data Streams

Event: ACCOUNT_UPDATE

Event Description

The account's realised balance or credit changed — a fill settling, a deposit, a withdrawal, a credit grant, a commission or swap posting.

Event Name

ACCOUNT_UPDATE

Response Example

JSON
{
  "e": "ACCOUNT_UPDATE",
  "E": 1789012600500,
  "L": 100123,
  "x": "UPDATE",
  "g": "real\\BOT\\ECN",
  "b": "10001.8000",
  "cr": "0.0000"
}
Field Type Description
e STRING "ACCOUNT_UPDATE"
E LONG Event time, Unix ms.
L LONG Login.
x ENUM NEW, UPDATE or DELETE on the underlying account record. UPDATE in practice.
g STRING MT5 group. Tells you whether the account is a cent account.
b DECIMAL Realised balance, in the account's deposit currency.
cr DECIMAL Non-withdrawable credit.