Skip to main content
POST
/
trading
/
orders
/
active
Get Active Orders
curl --request POST \
  --url http://localhost:8000/trading/orders/active \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "limit": 100,
  "cursor": "<string>",
  "account_names": [
    "<string>"
  ],
  "connector_names": [
    "<string>"
  ],
  "trading_pairs": [
    "<string>"
  ]
}
'
{
  "data": [],
  "pagination": {
    "has_more": true,
    "limit": 100,
    "next_cursor": "2024-01-10T12:00:00",
    "total_count": 500
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request model for filtering active orders

limit
integer
default:100

Number of items per page

Required range: 1 <= x <= 1000
cursor
string | null

Cursor for next page

account_names
string[] | null

List of account names to filter by

connector_names
string[] | null

List of connector names to filter by

trading_pairs
string[] | null

List of trading pairs to filter by

Response

Successful Response

Generic paginated response.

data
Data · object[]
required
pagination
Pagination · object
required