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

Trade Executed

Spot#

{
  "channel_name": "TRADING",
  "type": "FILL", // DEPRECATED
  "event": "ORDER",
  "status": "FILL",
  "instrument_code": "BTC_EUR",
  "client_id": "a4698628-0443-4efd-b14f-2f929a907b66",
  "order_id": "31257543-181a-453b-0bab-c05dfa49631c",
  "time": 1743120925007395300,
  "side": "BUY",
  "order_book_sequence": 70467113399,
  "remaining": "0",
  "amount": "0.00248",
  "trade_id": "37b1c52b-4490-55b0-88ca-1d37f9515d90",
  "matched_as": "TAKER",
  "matched_amount": "0.00248",
  "matched_price_avg": "80620.06",
  "cum_quote_amount": "199.9377488",
  "fee": "0.00000496",
  "fee_currency": "BTC",
  "bals": [
    {
      "c": "BTC",
      "a": "10.00611402"
    },
    {
      "c": "EUR",
      "a": "1088100.76854612"
    }
  ],
  "lckd_bals": [
    {
      "c": "BTC",
      "a": "0"
    },
    {
      "c": "EUR",
      "a": "0"
    }
  ]
}
SpotTradeExecuted

Futures#

{
  "channel_name": "TRADING",
  "type": "FILL", // DEPRECATED
  "event": "ORDER",
  "status": "FILL",
  "instrument_code": "BTC_EUR_P",
  "client_id": "01f133fe-86d9-418f-8b52-86c71f1035d5",
  "order_id": "4539821b-df35-4d6a-21ed-ad1d6efc41fe",
  "time": 1743121323027671300,
  "side": "SELL",
  "order_book_sequence": 70467142629,
  "remaining": "0",
  "amount": "0.00185",
  "trade_id": "739f37ad-7c79-5bba-bc1f-f89c4cc90308",
  "matched_as": "TAKER",
  "matched_amount": "0.00185",
  "matched_price_avg": "80667.3",
  "cum_quote_amount": "149.234505",
  "open_volume": "-0.00247",
  "open_position": "199.273248",
  "fee": "0.29846901",
  "fee_currency": "EUR",
  "margin_used": "38.2479412",
  "liquidation": true, // This is optional, and only present if the order is part of a liquidation event
  "bals": [
    {
      "c": "EUR",
      "a": "962.73779864"
    }
  ]
}
FuturesTradeExecuted

Previous
Order Closed
Next
Order Fully Filled
Built with