AsyncAPI channel · Qfex
· QFEX Multiplexed WebSocket API
/
Single channel for order commands, positions, balances, fills
Channel address
/
Operations
receive
authenticate
Authenticate with the WebSocket gateway
receive
subscribeOrdersStream
Subscribe to a data stream
receive
subscribePositionsStream
Subscribe to a data stream
receive
subscribeBalanceStream
Subscribe to a data stream
receive
subscribeFillsStream
Subscribe to a data stream
receive
getLeverageLevels
Get user leverage levels
receive
setLeverageLevels
Set user leverage levels
receive
getAvailableLeverageLevels
Get available leverage levels
receive
placeOrder
Place a new order
receive
cancelOrder
Cancel an existing order
receive
modifyOrder
Modify an existing order
receive
getOrder
Get order details
receive
getUserOrders
Get user orders
receive
cancelOnDisconnect
Set cancel on disconnect preference
receive
closePosition
Close a position
receive
addTwap
Create a TWAP order
receive
getUserTrades
Get user trades
receive
cancelStopOrder
Cancel a stop order
receive
modifyStopOrder
Modify a stop order
receive
unsubscribe
Unsubscribe from channels
send
receiveUpdates
Receive all update messages and events
Messages
authenticate
Authenticate to the WebSocket gateway. Required before any other commands.
Content-Type:
application/jsonsubscribe_orders
Subscribe to user orders. Receive live updates on current orders.
Content-Type:
application/jsonsubscribe_positions
Subscribe to user positions. Receive 1s pulsed updates on current positions.
Content-Type:
application/jsonsubscribe_balance
Subscribe to user balance. Receive 1s pulsed updates on current balance.
Content-Type:
application/jsonsubscribe_fills
Subscribe to user fills. Receive live updates for executed trades.
Content-Type:
application/jsonget_leverage
Get current leverage levels per symbol
Content-Type:
application/jsonset_leverage
Set leverage level for a symbol
Content-Type:
application/jsonget_available_leverage
Get available leverage levels per symbol
Content-Type:
application/jsonadd_order
Add order.
Content-Type:
application/jsoncancel_order
Cancel order.
Content-Type:
application/jsonmodify_order
Modify order.
Content-Type:
application/jsoncancel_all_orders
Cancel all orders.
Content-Type:
application/jsonget_order
Get order details by order_id or client_order_id.
Content-Type:
application/jsonget_user_orders
Get active orders for the user.
Content-Type:
application/jsoncancel_on_disconnect
Enable or disable cancel-on-disconnect feature for this connection.
Content-Type:
application/jsonclose_position
Close an open position.
Content-Type:
application/jsonadd_twap
Create a TWAP order.
Content-Type:
application/jsonget_user_trades
Get user trade history.
Content-Type:
application/jsoncancel_stop_order
Cancel a stop order.
Content-Type:
application/jsonmodify_stop_order
Modify a stop order.
Content-Type:
application/jsonunsubscribe
Unsubscribe from channels.
Content-Type:
application/jsonbalance_update
User balance updates
Content-Type:
application/jsonposition_update
User position updates
Content-Type:
application/jsonorder_response
Response containing a single order.
Content-Type:
application/jsonfill_response
Response containing a single fill.
Content-Type:
application/jsonall_orders_response
Response containing a list of orders.
Content-Type:
application/jsonauthenticated
Response indicating authentication success.
Content-Type:
application/jsontwap_response
Response containing a TWAP.
Content-Type:
application/jsonuser_trades_response
Response containing user trades.
Content-Type:
application/jsonuser_leverage_response
Response containing user leverage settings.
Content-Type:
application/jsonavailable_leverage_levels_response
Response containing available leverage levels.
Content-Type:
application/jsonsubscribed
Confirmation of subscription.
Content-Type:
application/jsonunsubscribed
Confirmation of unsubscription.
Content-Type:
application/jsonstop_order_response
Response containing a stop order.
Content-Type:
application/jsonposition_response
Response containing a position.
Content-Type:
application/jsonbalance_response
Response containing a balance.
Content-Type:
application/jsonack
General acknowledgment.
Content-Type:
application/jsonerr
Error response.
Content-Type:
application/jsonAbout AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
Browse every event-driven channel on the APIs.io network or compare with the broader Agent Skill and MCP server surfaces of the same providers.