Maxbit API documentation
  1. Maxbit
Maxbit API documentation
  • Maxbit
    • Maxbit Orderbook websocket
    • Get User Balance
      GET
    • Get Deposit Address
      GET
    • Symbol Price Ticker
      GET
    • Get All Asset And Network
      GET
    • New Order
      POST
    • Query Order
      GET
    • Cancel Order
      PUT
    • Cancel all Open Orders on a Symbol
      PUT
    • All Orders
      GET
    • System Status
      GET
    • Account API Trading Status
      GET
    • Get Crypto Deposit History
      GET
    • Get Crypto Withdraw History
      GET
    • Get Fiat Transactions
      GET
    • Get User Banks
      GET
    • Fiat Withdrawal (Advanced)
      POST
    • Get Trading pair
      GET
    • Get Pair Settings
      GET
    • Trading Fee
      GET
  1. Maxbit

Cancel all Open Orders on a Symbol

PUT
/api/v3/openOrders
DESCRIPTION
Cancels all open trade orders for a specific trading pair symbol. This endpoint helps users quickly adjust their trading strategy by removing all active orders for the specified pair.

Request

Query Params

Header Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://endpoint-gateway.maxbit.com/api/v3/openOrders?symbol=BTC_THB&recvWindow=&timestamp=1718855898528&signature={{signature}}' \
--header 'X-MBX-APIKEY: {{maxbit-api-key}}' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Body

Example
[
    {
        "symbol": "BNB_THB",
        "origClientOrderId": "msXkySR3u5uYwpvRMFsi3u",
        "orderId": 28,
        "orderListId": -1,
        "clientOrderId": "6gCrw2kRUAF9CvJDGP16IP",
        "transactTime": 1507725176595,
        "price": "1.00000000",
        "origQty": "10.00000000",
        "executedQty": "10.00000000",
        "cummulativeQuoteQty": "10.00000000",
        "status": "FILLED",
        "timeInForce": "GTC",
        "type": "LIMIT",
        "side": "SELL",
        "selfTradePreventionMode": "NONE"
    }
]
Modified at 2024-08-09 11:12:02
Previous
Cancel Order
Next
All Orders
Built with