Orders
Endpoints to query open and closed orders, retrieve details of a specific order, amend or cancel orders.
The Orders section covers the entire lifecycle of futures orders. Use these endpoints to place new market or limit orders, view your open orders, retrieve individual order details, view historical orders, amend orders, and cancel existing orders. You can also specify reduce‑only orders to ensure they only close or reduce positions. Refer to the sub‑pages for specifics on each operation.
Currency. To place an INR-margin order, add
"trade_currency": "INR"to the order body; omit it (or passUSDT) for USDT. List endpoints (/futures/orders,/futures/orders/history) taketrade_currencyas a query parameter, default toUSDT, return one currency per call, and tag each order with itstrade_currency. For INR orders the FX rate is returned ashedge_rate. Order price remains in USDT; quantity is in the base asset.
Amend order — PATCH /futures/orders/{order_id}
PATCH /futures/orders/{order_id}Modify an open (unfilled) order by its UUID. The order's currency is inherited from its UUID; no trade_currency is needed.
Both
order_priceandquantityare required. A price-only amend returns400 order quantity out of permissible range.
Request
curl -X PATCH "https://trade.mudrex.com/fapi/v1/futures/orders/{order_id}" \
-H "Content-Type: application/json" \
-H "X-Authentication: your-secret-key" \
-d '{
"order_price": "0.11380",
"quantity": "44.0"
}'Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | Yes | The order UUID (path parameter). |
order_price | string | Yes | New order price (USDT). Required together with quantity. |
quantity | string | Yes | New quantity (base asset). Required together with price. |
Response
Status: 200 OK
{
"success": true,
"data": {
"message": "Order updated successfully"
}
}Response fields
| Field | Description |
|---|---|
message | Status message. |
