Skip to main content
Order entry uses wss://trade.qfex.com. Authenticate within one minute, wait for successful authentication, and subscribe to order responses and fills. The authentication guide contains client-language examples; the requests below are sent on that authenticated connection.

Add order

This private GTC limit may take eligible displayed or private liquidity on entry. Any remainder rests privately. Omit dark or set it to false for a regular displayed remainder.

Speed bump

New orders with order_type: "MARKET" or order_type: "LIMIT" pass through a 500 ms speed bump before reaching the matching engine. Only new order_type: "ALO" orders bypass it. A LIMIT GTC order is delayed even if its price would leave it resting on the book without taking liquidity. For market and limit orders with IOC or FOK time in force, “immediate” execution is evaluated after the delay. Setting dark: true does not change the speed-bump treatment. See Speed bump implementation for modification and cancellation rules.

Parameters

Prices and quantities are illustrative and must satisfy the symbol’s reference data and normal risk controls. Boolean fields accept JSON true or false, not numeric 0/1 or strings.

Private-order instructions

Immediate orders never rest. Private-only matching does not compare execution prices with the displayed BBO, require a displayed quote or fall back to displayed liquidity. Normal limits, price bands, fees, margin, STP, reduce-only and speed-bump rules continue to apply.
Private instructions are not supported for standalone stops or TWAP requests. Attached stops do not inherit the parent’s private instruction.

Example response

An accepted resting order receives an order_response with ACK. Executing orders also produce fill/cancellation responses according to their time in force. This excerpt omits other standard response fields:
Default dark: false is omitted from responses. A FILLED event may describe only a partial fill; process all fills and the final cancellation where applicable. A private GTC can produce public entry fills against displayed orders before resting privately. See Public Trades for publication rules.