LogoLogo
  • Introduction
  • Get started
  • Trading Account
  • Signing
  • REST API
    • Account
      • Get Account Info
      • Get Positions
      • Get ABR payments
    • Market
      • Get Markets
      • Get Assets
      • Get Orderbook
    • Trade
      • Create Order
      • Cancel Order
      • Query order
      • List historical orders
      • List active orders
      • Trade list
    • Time
  • Web Sockets
    • Authentication
    • Connectivity check
    • Subscription
    • Public topics
      • trade
      • marketInfo
      • orderBook
      • accountCreated
      • kline
    • Private topics
      • conditionalOrder
      • balance
      • order
      • fill
  • Glossary
Powered by GitBook
On this page
  1. REST API
  2. Trade

List active orders

Returns currently active orders

PreviousList historical ordersNextTrade list

Last updated 1 year ago

get
Query parameters
marketIdstringOptional

Market Identifier

Example: BTCUSDC
limitnumberOptional

Limit

Default: 1000Example: 1000
Responses
200Success
application/json
get
GET /v1/private/orders/realtime HTTP/1.1
Host: 
Accept: */*
200Success
[
  {
    "id": "text",
    "accountId": "text",
    "signature": [
      "S1",
      "S2"
    ],
    "marketId": "BTCUSD",
    "type": "MARKET",
    "side": "BUY",
    "direction": "LONG",
    "status": "CREATED",
    "isPendingExpiration": true,
    "isPendingCancellation": true,
    "isPendingRejection": true,
    "price": 1,
    "quantity": 1,
    "quantityLocked": 1,
    "quantityFilled": 1,
    "leverage": 1,
    "slippage": 1,
    "postOnly": true,
    "timeInForce": "GTC",
    "clientTimestamp": 1708456721657,
    "rejectionReason": {
      "code": "text",
      "message": "text"
    },
    "createdAt": 1,
    "updatedAt": 1,
    "expiresAt": 1
  }
]