Get Trade Order List

Request

GET https://custody-example-url/custody/v1/api/projects/{b_id}/integrated/trade/orders

Parameters

Field Type Description
b_id String Business line ID
keywordOptional String Search (Order ID, financial officer)
base_coinOptional String Base currency
quote_coinOptional String Quote currency
sideOptional String Trade directions(BUY-buy; SELL-sell)
statusesOptional String[] Order Status
trade_typeOptional String Order Type (LIMIT-limit order; TOKEN-market order)
create_time_startOptional Long Order creation time start time
create_time_endOptional Long Order creation time end time
offset Integer Offset
limit Integer Limit

Response

Field Type Description
bid String Business line ID
order_no String Order ID
base_coin String Base currency
quote_coin String Quote currency
base_amount Integer Base amount
quote_amount Integer Quote amount
price Integer Price
filled_price Integer Transaction price
filled_qty Integer Transaction base amount
filled_amount Integer Transaction quote amount
status String Status (PROCESSING-processing; PENDING-pending settlement;COMPLETE-complete; CANCELING-cancel;CANCEL_PART-partial success)
trade_type String Order Type (LIMIT-limit order; TOKEN-market order)
side String Trade directions(BUY-buy; SELL-sell)
reason String Reason for failure
create_time Long Create time
complete_time Long Complete time

Response Example

{
  "code": 0,
  "data": {
    "limit": 0,
    "list": [
      {
        "bid": "string",
        "order_no": "string",
        "base_coin": "string",
        "quote_coin": "string",
        "base_amount": 0,
        "quote_amount": 0,
        "price": 0,
        "filled_price": 0,
        "filled_qty": 0,
        "filled_amount": 0,
        "status": "string",
        "trade_type": "string",
        "side": "string",
        "reason": "string",
        "complete_time": 1663686589524,
        "create_time": 1663657787000
      }
    ],
    "metadata": {},
    "offset": 0,
    "total": 0
  },
  "message": "string",
  "successful": true
}
Copyright © 2025 Cactus Custody all right reserved,powered by GitbookUpdated: 11-Oct-2023 02:55:06

results matching ""

    No results matching ""

    results matching ""

      No results matching ""