# Order Closed

## Spot

```json
{
    "channel_name": "TRADING",
    "type": "DONE", // DEPRECATED
    "event": "ORDER",
    "status": "CANCELLED",
    "instrument_code": "BTC_EUR",
    "client_id": "ca88c44b-3c30-4488-ba03-19c2ddaf9fec",
    "order_id": "2c8c5391-1121-4105-919b-e77586acec04",
    "side": "BUY",
    "order_book_sequence": 70422288526,
    "remaining": "0.1",
    "amount": "0.1",
    "price": "85000",
    "time": 1743073077701521427,
    "bals": [
        {
            "c": "BTC",
            "a": "2.5"
        },
        {
            "c": "EUR",
            "a": "20000"
        }
    ],
    "lckd_bals": [
        {
            "c": "BTC",
            "a": "0"
        },
        {
            "c": "EUR",
            "a": "0"
        }
    ]
}
```

<DataSchema id="411673" />

## Futures

```json
{
    "channel_name": "TRADING",
    "type": "DONE", // DEPRECATED
    "event": "ORDER",
    "status": "CANCELLED",
    "instrument_code": "BTC_EUR_P",
    "client_id": "c405ca89-72bf-492c-9e6c-beeaed92dfb9",
    "order_id": "e66cf0ef-f4f5-4d55-b485-759e938d041e",
    "side": "BUY",
    "order_book_sequence": 70422361957,
    "remaining": "0.1",
    "amount": "0.1",
    "price": "85000",
    "time": 1743074076856974143,
    "margin_used": "350.5",
    "liquidation": true, // This is optional, and only present if the order is part of a liquidation event
    "bals": [
        {
            "c": "EUR",
            "a": "80000"
        }
    ]
}
```

<DataSchema id="411674" />