User Data Streams

Account Update

Account Update consists of 2 event types outboundAccountPosition and outboundAccountInfo that would sent a current balance of user after the account balance has changed

{
    "e": "outboundAccountPosition",  //Event type
    "E": 1602843659901,              //Event Time
    "u": 1602843659894,              //Time of last account update
    "B": [                           //Balances Array
        {
            "a": "thb",              //Asset
            "f": "380.6422711375",   //Free
            "l": "0"                 //Locked
        }
    ]
}

{
  "e": "outboundAccountInfo",    // Event type
  "E": 1602843659911,            // Event time
  "m": "0",                      // Maker commission rate (bips)
  "t": "0",                      // Taker commission rate (bips)
  "b": "0",                      // Buyer commission rate (bips)
  "s": "0",                      // Seller commission rate (bips)
  "T": true,                     // Can trade?
  "W": true,                     // Can withdraw?
  "D": true,                     // Can deposit?
  "u": 1602843659894,            // Time of last account update
  "B": [                         // Balances array
    {
      "a": "ada",                // Asset
      "f": "2",                  // Free amount
      "l": "0"                   // Locked amount
    },
    {
      "a": "eth",
      "f": "0.373245109",
      "l": "0"
    },
    {
      "a": "omg",
      "f": "4.34693199",
      "l": "0"
    },
    {
      "a": "usdt",
      "f": "3.61",
      "l": "0"
    },
    {
      "a": "xlm",
      "f": "12",
      "l": "0"
    },
    {
      "a": "thb",
      "f": "380.6422711375",
      "l": "0"
    }
  ],
  "P": [
    "SPOT"
  ]
}

Balance Update

Order Update

Last updated

Was this helpful?