How it works
- A builder creates one builder code for its own QFEX account. QFEX generates the code as a UUID.
- The builder configures two fee shares in basis points (1 bp = 0.01%):
- QFEX’s share of the trading fee must be at least 50%.
- The builder’s share can be set up to 50%.
- The two shares do not need to add up to 100%.
- The builder authenticates each end user separately, normally through QFEX OAuth.
- The builder automatically attaches its builder-code UUID when it authenticates that user’s Trade WebSocket connection.
- Orders placed over that connection generate builder rewards according to the configured share. The trader still pays the full trading fee.
Create a builder code
Each QFEX account may have one active builder code.- Sign in at qfex.com and open your profile.
- Open Developer Settings.
- Use the Builder code section to create your code and set the QFEX and builder fee shares.
Building an aggregator or trading application
If your application needs to let users connect or create QFEX accounts and then trade through your integration, see the Builder Integration Guide. The recommended flow is:- The user selects Connect QFEX in your application.
- QFEX handles sign-in, account creation, MFA, and onboarding.
- Your application receives a user OAuth token after authorisation.
- Your application opens the user’s authenticated Trade WebSocket.
- Your application adds your builder UUID to that connection’s auth message.
- Orders, stop orders, and TWAPs sent over the connection are attributed automatically.