One Trading API
REST APIWebSocket API
REST APIWebSocket API
  1. Trading
  • Introduction
  • Authenticate
  • Subscribe
  • Ping / Pong
  • Trading
    • Introduction
    • Dead Man Switch (Auto Cancellation)
    • Create Order
    • Cancel All Orders
    • Cancel Order by Client ID
    • Cancel Order by Order ID
    • Margin Update
    • Settlement
    • Funding Payment
    • Order Booked
    • Order Rejected
    • Order Closed
    • Trade Executed
    • Order Fully Filled
    • Move Order
    • Balance Adjustment
  • Orderbook
    • Introduction
    • Orderbook Snapshot
    • Orderbook Update
  • Price Ticks
    • Introduction
    • Price Tick
  • Book Ticker
    • Introduction
    • Book Tick
  1. Trading

Order Rejected

Spot#

{
    "channel_name": "TRADING",
    "type": "DONE", // DEPRECATED
    "event": "ORDER",
    "status": "INSUFFICIENT_FUNDS",
    "instrument_code": "BTC_EUR",
    "client_id": "51453434-a081-49d3-a47b-db51d7e705ce",
    "order_id": "f4030a53-7c16-4a64-ad7c-7b9e85bb6412",
    "time": 1743072200276955246,
    "side": "SELL",
    "order_book_sequence": 70422226207,
    "remaining": "0",
    "amount": "2.5",
    "price": "85000",
    "tif": "GTC",
    "bals": [
        {
            "c": "BTC",
            "a": "1.5"
        },
        {
            "c": "EUR",
            "a": "100000"
        }
    ],
    "lckd_bals": [
        {
            "c": "BTC",
            "a": "0"
        },
        {
            "c": "EUR",
            "a": "0"
        }
    ]
}
SpotRejectedOrder

Futures#

{
    "channel_name": "TRADING",
    "type": "DONE", // DEPRECATED
    "event": "ORDER",
    "status": "RISK_FAILED_OVER_MAX_POSITION",
    "instrument_code": "BTC_EUR_P",
    "client_id": "b2cc4a47-aa4e-40a7-a2ff-e229b117d4df",
    "order_id": "be5b6780-cb1d-459d-81fd-e2248a66bf23",
    "time": 1743073689388694705,
    "side": "BUY",
    "order_book_sequence": 70422334944,
    "remaining": "0",
    "amount": "0.5",
    "price": "90000",
    "tif": "GTC",
    "margin_used": "1900",
    "liquidation": true, // This is optional, and only present if the order is part of a liquidation event
    "bals": [
        {
            "c": "EUR",
            "a": "2000"
        }
    ]
}
FuturesRejectedOrder

Previous
Order Booked
Next
Order Closed
Built with