Open Orders

İstekte bulunan kullanıcının açık emirlerini listeyen endpoint. Eğer market bilgisi gönderilirse ilgili marketin emirleri, eğer gönderilmezse tüm emirleri döner.

DELETE Methodu İçin Hashleme

const crypto = require('crypto');

const secret = 'secret_key';
const requestUrl = '/order?market=eos_tl'; 
const hash = crypto.createHmac('sha256', secret)
                   .update(requestUrl)
                   .digest('base64');

PARAMETRELER

Field NameTypeRequiredDescription

Authorization

String

Evet

X-Signature

String

Evet

Request

```powershell
curl --location 'https://api.maximus.team/open-orders' \
--header 'Authorization: {{AUTH_TOKEN}}' \
--header 'X-Signature: {{REQUEST_SIGNATURE}}'
```

Response

{
    {
        "uid": "76mkr5no-qe1w-705y-kqgx-4lydg2pjvz8o",
        "user_uid": "e39kjg7m-2lwd-o1xe-pd93-y8xz051p4qrv",
        "amount": "1",
        "market": "eos_tl",
        "type": "limit",
        "status": "open",
        "trade": "buy",
        "closed_at": "0001-01-01T00:00:00Z",
        "created_at": "2024-07-26T16:00:54Z",
        "opened_at": "2024-07-26T16:00:54Z",
        "condition": "0",
        "price": "19.98",
        "average": "0",
        "remaining_amount": "1"
    },
    {
        "uid": "9qrj0oe6-lnpw-1j8q-gm7y-w28v7dm1zk5o",
        "user_uid": "e39kjg7m-2lwd-o1xe-pd93-y8xz051p4qrv",
        "amount": "1",
        "market": "eos_tl",
        "type": "limit",
        "status": "open",
        "trade": "buy",
        "closed_at": "0001-01-01T00:00:00Z",
        "created_at": "2024-08-02T10:51:00.213997032Z",
        "opened_at": "2024-08-02T10:51:00.213997032Z",
        "condition": "0",
        "price": "19.98",
        "average": "0",
        "remaining_amount": "1"
    }
}

Last updated