# ADL Notification Channel

### Description

[ADL (Auto-Deleveraging)](https://www.bitget.com/support/articles/12560603800805) is a risk management mechanism that
automatically reduces a trader's position when their margin balance falls below the maintenance margin requirement. This
channel pushes real-time notifications when an ADL event is triggered for a position under the unified trading account.

- Subscribe to `adl-notification` to receive push notifications when your position enters the ADL queue or is being
  auto-deleveraged.
- The push data includes the symbol, position side, execution price, and execution amount of the affected position.

<div className="api-aligning">

```json title="Request Example"
{
    "op": "subscribe",
    "args": [
        {
            "instType": "UTA",
            "topic": "adl-notification"
        }
    ]
}
```

### Request Parameters

| Parameter     | Type               | Required | Description                                     | 
|:--------------|:-------------------|:---------|:------------------------------------------------|
| op            | String             | Yes      | Operation <br/> `subscribe`/`unsubscribe`       |
| args          | List&lt;Object&gt; | Yes      | Subscribed channels                             |
| &gt; instType | String             | Yes      | Product type<br/>`UTA` Unified trading account  |
| &gt; topic    | String             | Yes      | Topic <br/> `adl-notification` ADL Notification |

</div>

<div className="api-br-10"></div>

<div className="api-aligning">

```json title="Response Example"
{
  "event": "subscribe",
  "arg": {
    "instType": "UTA",
    "topic": "adl-notification"
  },
  "connId": "xxxxxxxxxx"
}
```

### Response Parameters

| Parameters    | Type   | Description                                          | 
|:--------------|:-------|:-----------------------------------------------------|
| event         | String | Operation <br/>`subscribe` / `unsubscribe` / `error` |
| arg           | Object | Subscribed channel                                   |
| &gt; instType | String | Product type <br/>`UTA`                              |
| &gt; topic    | String | Topic <br/>`adl-notification` ADL Notification       |
| code          | String | Error code                                           |
| msg           | String | Error message                                        |
| connId        | String | Connection ID                                        |

</div>

<div className="api-br-10"></div>


<div className="api-aligning">

```json title="Push Data"
{
  "data": [
    {
      "symbol": "BTCUSDT",
      "side": "buy",
      "status": "triggered",
      "price": "88291.2",
      "amount": "2.35",
      "ts": "1740546523244"
    }
  ],
  "arg": {
    "instType": "UTA",
    "topic": "adl-notification"
  },
  "action": "update",
  "ts": 1740546523244
}
```

### Push Parameters

| Parameters    | Type               | Description                                                     |
|:--------------|:-------------------|:----------------------------------------------------------------|
| arg           | Object             | Subscribed channel                                              |
| ts            | String             | Push timestamp<br/>Unix millisecond timestamp                     |
| &gt; instType | String             | product type <br/>`UTA` Unified trading account                 |
| &gt; topic    | String             | Topic <br/>`adl-notification` ADL Notification                  |
| action        | String             | Action: <br/>`update` Incremental data                          |
| data          | List&lt;Object&gt; | Subscribed data                                                 |
| &gt;symbol    | String             | Symbol name                                                     |
| &gt;[side](/docs/uta/enum#side)      | String             | Position side <br/>`buy` Buy<br/>`sell` Sell                      |
| &gt;status    | String             | ADL status <br/>`triggered` Triggered; the ADL has been activated and the position is being reduced                            |
| &gt;price     | String             | ADL execution price                                             |
| &gt;amount    | String             | ADL execution amount<br/>Unit: base coin. For example, `2.35` means 2.35 base coins of the affected position were reduced                                           |
| &gt;ts        | String             | ADL start time (Unix millisecond timestamp)                     |

</div>
