# QFEX API Documentation: Chinese ## Chinese ### Latest #### QFEX ##### 简介 - [关于 QFEX](https://docs.qfex.com/cn/qfex/about.md): 市场本该如此 - [做市商](https://docs.qfex.com/cn/qfex/market-makers.md): 机构接入咨询 - [常见问题](https://docs.qfex.com/cn/qfex/faq.md): 关于 QFEX 的常见问题解答 ##### 入门指南 ###### 账户入金 - [银行转账](https://docs.qfex.com/cn/qfex/bank-transfer.md): 通过银行转账入金 - [稳定币](https://docs.qfex.com/cn/qfex/stablecoins.md): 使用稳定币入金 ##### 社区 - [Builder Codes(开发者分成代码)](https://docs.qfex.com/cn/qfex/builder-code.md): 创建 Builder Code、接入 QFEX 交易并获得开发者奖励 - [推荐与联盟合作伙伴计划](https://docs.qfex.com/cn/qfex/referral.md): 两种佣金计划:开放推荐与审批制联盟合作伙伴 ##### 交易策略 - [托管账户策略](https://docs.qfex.com/cn/qfex/managed-account.md): 面向符合条件的高成交量 QFEX 交易者、仅限邀请的系统化市场中性策略 - [智能体交易](https://docs.qfex.com/cn/qfex/agentic-trading.md): 使用 AI 智能体研究市场、管理持仓并在 QFEX 交易 ##### 交易规则 - [定义与公式](https://docs.qfex.com/cn/qfex/definitions.md): 交易规则手册中的常用术语 - [交易所架构](https://docs.qfex.com/cn/qfex/architecture.md): 交易所技术架构说明 - [订单提交](https://docs.qfex.com/cn/qfex/order-types.md): 支持的订单类型与有效期 - [合约规格](https://docs.qfex.com/cn/qfex/contract-specifications.md): 面向传统资产的永续合约 - [Pre-IPO 股票永续合约](https://docs.qfex.com/cn/qfex/pre-ipo-stocks.md): QFEX 如何对首次公开发行前的公司相关永续合约定价、计算资金费用并进行调整 - [产品规格索引](https://docs.qfex.com/cn/qfex/specification-index.md): QFEX 生产环境有效产品的合约、执行、交易时段及风险参数汇总 - [换月日历](https://docs.qfex.com/cn/qfex/roll-schedules.md): QFEX 预言机定价所使用的已公布到期期货合约及换月边界 - [资金费率](https://docs.qfex.com/cn/qfex/funding.md): 资金费用的生效时段、为零的原因以及费率计算方式 - [风险限额](https://docs.qfex.com/cn/qfex/risk-limits.md): 交易安全与风险控制 - [保证金与清算](https://docs.qfex.com/cn/qfex/liquidation-margin-call.md): 多阶段清算流程详解 - [公司行动](https://docs.qfex.com/cn/qfex/corporate-actions.md): QFEX 股票公司行动处理政策 - [手续费](https://docs.qfex.com/cn/qfex/fees.md) - [子账户](https://docs.qfex.com/cn/qfex/subaccounts.md): 隔离保证金与风险 ##### 账户与地区限制 - [受限制的国家及地区](https://docs.qfex.com/cn/qfex/prohibited-jurisdictions.md) #### API 参考 ##### API 文档 - [API 简介](https://docs.qfex.com/cn/api-reference/introduction.md): QFEX REST、CLI 与 WebSocket 接入概览 - [API 版本管理](https://docs.qfex.com/cn/api-reference/versioning.md): 选择 REST API 契约,并固定集成使用的请求与响应格式 - [账户执行记录](https://docs.qfex.com/cn/api-reference/executions.md): 通过 REST API 查询资金费用、手续费返还、推荐奖励及正确的时间参数格式 - [API 密钥](https://docs.qfex.com/cn/api-reference/api-keys.md): 创建并安全使用具有细粒度权限和账户范围限制的 API 密钥 - [钱包身份认证](https://docs.qfex.com/cn/api-reference/wallet-authentication.md): 使用以太坊钱包以程序方式注册或登录 QFEX,并使用返回的用户会话 - [程序化出入金](https://docs.qfex.com/cn/api-reference/programmatic-funding.md): 通过 REST API 为 QFEX 账户入金,并申请加密资产或美元提现 - [CLI 命令行工具](https://docs.qfex.com/cn/api-reference/cli.md): 以 JSON 原生格式访问 QFEX 行情、交易和账户状态的命令行工具 - [枚举值](https://docs.qfex.com/cn/api-reference/enums.md) - [错误处理](https://docs.qfex.com/cn/websocket/errors.md) - [API 速率限制](https://docs.qfex.com/cn/websocket/rate.md): WebSocket 交易 API 的请求限流机制,以及如何避免 RateLimited 错误 - [Changelog](https://docs.qfex.com/websocket/changelog.md): Product updates and announcements ##### Builder Codes - [开发者集成指南](https://docs.qfex.com/cn/api-reference/builder-integration.md): 选择 OAuth 或钱包签名交易密钥接入用户,并将交易归因给您的 Builder Code - [Builder 钱包注册](https://docs.qfex.com/cn/api-reference/builder-wallet-registration.md): 通过钱包签名,为开发者的用户创建主账户交易密钥 - [Builder Codes API](https://docs.qfex.com/cn/api-reference/builder-codes.md): 创建与查询 Builder Code、附加到交易 WebSocket 会话并读取开发者奖励 ##### REST API ###### builder - [Generate a wallet user's main-account trading key](https://docs.qfex.com/api-reference/rest/builder/generate-a-wallet-users-main-account-trading-key.md): Requires the builder's existing API key with register_user. The signed wallet message must authorize the caller's active builder code and be issued within ten minutes. Replaces the wallet user's previous builder-{builder-username} key by deleting the previous key. The key permits trading, account an… - [Get the wallet message for a builder trading key](https://docs.qfex.com/api-reference/rest/builder/get-the-wallet-message-for-a-builder-trading-key.md): Public endpoint. Pass address and builder_code as query parameters. Returns a SIWE message with the supplied wallet address and the supplied builder code, a random nonce, and a ten-minute validity window. Sign the returned message unchanged and submit it to /builder/web3/api-key. ###### market-data - [Earnings and Economic Calendar](https://docs.qfex.com/api-reference/rest/market-data/earnings-and-economic-calendar.md): Return company earnings and economic events for an inclusive date range of up to 93 days. No authentication is required. Earnings use report dates; economic events use their stored calendar dates. For timezone-aware weekly displays, include one extra date on either side and group exact release times… - [Candles](https://docs.qfex.com/api-reference/rest/market-data/candles.md): Return OHLCV candles for a symbol over a time range. - [DefiLlama Metrics](https://docs.qfex.com/api-reference/rest/market-data/defillama-metrics.md): Return QFEX aggregate volume and USD open interest metrics for DefiLlama. - [Funding Historic](https://docs.qfex.com/api-reference/rest/market-data/funding-historic.md): Return historic funding rates for a symbol over a time range with forward filling. - [Reference Market Holidays](https://docs.qfex.com/api-reference/rest/market-data/reference-market-holidays.md): Return reference-market holiday dates from the calendar used by QFEX Slack alerts. Dates are local calendar dates, not UTC closure timestamps. These are not QFEX trading halts or instrument-specific session schedules; US futures may have shortened sessions on these dates. Weekends and early closes a… - [Contracts](https://docs.qfex.com/api-reference/rest/market-data/contracts.md): Return mandatory contract metadata and current market data for all symbols. - [Order Book](https://docs.qfex.com/api-reference/rest/market-data/order-book.md): Return current order book depth for a ticker. - [Open Interest Historic](https://docs.qfex.com/api-reference/rest/market-data/open-interest-historic.md): Return historic open interest for a symbol over a time range with forward filling. - [Refdata](https://docs.qfex.com/api-reference/rest/market-data/refdata.md): Return symbol reference data, including market_hours for each symbol. No authentication is required. See /market-holidays for reference-market holiday dates and /calendar for earnings and economic events. - [Settlement Calendar](https://docs.qfex.com/api-reference/rest/market-data/settlement-calendar.md): Return the settlement calendar entry for a symbol at a given time, based on active_until. - [Settlement Prices](https://docs.qfex.com/api-reference/rest/market-data/settlement-prices.md): Return current and historic settlement prices and ratios. - [Symbol Long Short Historic](https://docs.qfex.com/api-reference/rest/market-data/symbol-long-short-historic.md): Return historic long and short user counts for a symbol over a time range. - [Taker Volume Historic](https://docs.qfex.com/api-reference/rest/market-data/taker-volume-historic.md): Return historic taker volume metrics for a symbol over a time range. - [Underlier Historic](https://docs.qfex.com/api-reference/rest/market-data/underlier-historic.md): Return historic underlier OHLC data for a symbol over a time range. ###### user - [Executions](https://docs.qfex.com/api-reference/rest/user/executions.md): Return executions (funding, deposits, withdrawals, referral rewards, fee rebates) for the authenticated account, globally sorted by created_at. - [Stream Historic Orders CSV](https://docs.qfex.com/api-reference/rest/user/stream-historic-orders-csv.md): Stream a CSV of all historic orders for the authenticated user. - [Stream Historic TWAPs CSV](https://docs.qfex.com/api-reference/rest/user/stream-historic-twaps-csv.md): Stream a CSV of all historic TWAPs for the authenticated user. - [Redeem Invitation Code](https://docs.qfex.com/api-reference/rest/user/redeem-invitation-code.md): Redeem a valid invitation code for the authenticated user, create the referral link, and enable user access. - [Stream Trades CSV](https://docs.qfex.com/api-reference/rest/user/stream-trades-csv.md): Stream a CSV of all trades for the authenticated user. - [Account Equity](https://docs.qfex.com/api-reference/rest/user/account-equity.md): Return total account equity over time for preset durations. - [Builder Code Details](https://docs.qfex.com/api-reference/rest/user/builder-code-details.md): Return the authenticated user's most recently created active builder code and configured QFEX/builder fee shares. - [Create Builder Code](https://docs.qfex.com/api-reference/rest/user/create-builder-code.md): Create the authenticated user's builder code. The code is generated server-side as a UUID and stored with active=true. Specify both QFEX and builder fee shares in basis points; they need not sum to 10000. QFEX share must be at least 5000 (50%), builder share must be >= 0, and their sum must be at mo… - [User Fees](https://docs.qfex.com/api-reference/rest/user/user-fees.md): Return the fee schedule for the authenticated user. Fees are user-level and do not change when a subaccount is selected. - [User Flat Funding](https://docs.qfex.com/api-reference/rest/user/user-flat-funding.md): Return per-symbol net funding from the most recent snapshot where the authenticated account's position was flat. - [Historic Orders](https://docs.qfex.com/api-reference/rest/user/historic-orders.md): Return historic orders (filled or terminally closed) for the authenticated user. - [Historic User PnL](https://docs.qfex.com/api-reference/rest/user/historic-user-pnl.md): Return historic user pnl change over preset durations. Supports number and percent units, and optional comma-separated symbol filters. - [Historic TWAPs](https://docs.qfex.com/api-reference/rest/user/historic-twaps.md): Return historic TWAPs (cancelled or completed) for the authenticated user. - [Reconcile Invitation Codes (Legacy Path)](https://docs.qfex.com/api-reference/rest/user/reconcile-invitation-codes-legacy-path.md): Immediately reconciles invitation-code rewards for the authenticated user. - [Set User Leverage](https://docs.qfex.com/api-reference/rest/user/set-user-leverage.md): Set the leverage for the authenticated user. - [User Positions](https://docs.qfex.com/api-reference/rest/user/user-positions.md): Return current positions for the authenticated user. - [User Referral Rewards](https://docs.qfex.com/api-reference/rest/user/user-referral-rewards.md): Return daily referral rewards for the authenticated user. - [User Referral Notional Volume](https://docs.qfex.com/api-reference/rest/user/user-referral-notional-volume.md): Return rolling 14-day and lifetime notional volume for the authenticated user and their direct referrals. - [List Subaccounts](https://docs.qfex.com/api-reference/rest/user/list-subaccounts.md): Returns secondary account IDs for the authenticated user (accounts except the primary row where account_id equals user_id). - [Create Subaccount](https://docs.qfex.com/api-reference/rest/user/create-subaccount.md): Allocates a new subaccount UUID for the authenticated user and returns it in the response body. - [List Account Balances](https://docs.qfex.com/api-reference/rest/user/list-account-balances.md): Returns the authenticated user's primary account and each secondary account together with current account equity and available balance from the latest user position balance snapshot. - [List Account Equities](https://docs.qfex.com/api-reference/rest/user/list-account-equities.md): Returns the authenticated user's primary account and each secondary account together with current account equity from the latest user position balance snapshot. - [User Trades](https://docs.qfex.com/api-reference/rest/user/user-trades.md): Return trades for the authenticated user. - [Transfer Balance](https://docs.qfex.com/api-reference/rest/user/transfer-balance.md): Transfer balance between two of the authenticated user's accounts (parent account or subaccounts). - [User Volume](https://docs.qfex.com/api-reference/rest/user/user-volume.md): Return daily user notional volume for one of: 1w, 1m, ytd, or all time. Supports optional comma-separated symbol filters. ###### pnl - [Hourly PnL (approx. first position per hour)](https://docs.qfex.com/api-reference/rest/pnl/hourly-pnl-approx-first-position-per-hour.md): Return approximate first position per symbol per hour for the user, including realised/unrealised pnl, net_funding, fees, quantity, and cost. ###### public - [Public Leaderboard](https://docs.qfex.com/api-reference/rest/public/public-leaderboard.md): Return the global top 100 participating master accounts by trading PnL or cash-flow-adjusted time-weighted return. Username filtering only reduces that selected top 100. Return can be null when no positive-equity subperiod exists; positive dollar PnL and negative TWR can coexist. ##### 出入金 API ###### 出入金 - [获取加密资产充值地址](https://docs.qfex.com/cn/api-reference/funding/funding/get-a-crypto-deposit-address.md): API 密钥需要 view_balance 权限。返回现有充值地址,或在首次调用时创建地址,不会轮换现有地址。ARBITRUM_ONE 用于充值 USDC;TRON 用于充值 USDT。POST /address/rotate 要求 deposit_withdraw 权限。 - [列出已登记的加密资产提现地址](https://docs.qfex.com/cn/api-reference/funding/funding/list-registered-crypto-withdrawal-addresses.md): API 密钥需要 view_balance 权限。返回当前已认证用户在所有网络上登记的全部加密资产提现地址。用户通过认证信息确定,不使用用户 ID 查询参数。本接口不会登记、修改或删除地址。 - [申请向已登记地址提取加密资产](https://docs.qfex.com/cn/api-reference/funding/funding/request-a-crypto-withdrawal-to-a-registered-address.md): 标准 API 密钥需要 deposit_withdraw 权限。通过 POST /builder/web3/api-key 签发或替换的密钥,在用户拥有所选账户时也支持向已登记地址提取加密资产。这项 Builder 权限不能在开发者设置中选择。所有提现,包括全部 API 密钥及 JWT 会话,必须使用当前已认证用户在所请求网络上登记的目的地址。系统在扣款前检查地址;Arbitrum 匹配不区分大小写,TRON 必须完全一致。款项从用户主账户扣除。请求不具备幂等性;超时后请先核对提现历史,再决定是否重试。 ##### WebSocket - [WebSocket 概览](https://docs.qfex.com/cn/websocket/main.md) - [交易 Playground](https://docs.qfex.com/cn/websocket/trade.md): Single channel for order commands, positions, balances, fills - [行情数据 Playground](https://docs.qfex.com/cn/websocket/mds.md): Single channel for orderbook, trades, candles ###### 行情数据 - [参考数据](https://docs.qfex.com/cn/websocket/channels/mds/refdata.md) - [定时推送订单簿](https://docs.qfex.com/cn/websocket/channels/mds/orderbook.md) - [公开成交](https://docs.qfex.com/cn/websocket/channels/mds/trades.md) - [定时推送最优买卖价](https://docs.qfex.com/cn/websocket/channels/mds/bbo.md) - [标的资产价格](https://docs.qfex.com/cn/websocket/channels/mds/underlier.md) - [资金费率](https://docs.qfex.com/cn/websocket/channels/mds/funding_rate.md) - [标记价格](https://docs.qfex.com/cn/websocket/channels/mds/mark_price.md) - [未平仓量](https://docs.qfex.com/cn/websocket/channels/mds/open_interest.md) - [价格上下限](https://docs.qfex.com/cn/websocket/channels/mds/minmax_price.md) - [市场统计](https://docs.qfex.com/cn/websocket/channels/mds/market_stats.md): 汇总最优买卖价、标记价格、未平仓量、资金费率及滚动 24 小时成交量快照 ###### 交易 - [身份认证](https://docs.qfex.com/cn/websocket/channels/trade/authenticate.md) - [订阅订单响应](https://docs.qfex.com/cn/websocket/channels/trade/order.md) - [订阅成交回报](https://docs.qfex.com/cn/websocket/channels/trade/fills.md) - [订单提交——新增订单](https://docs.qfex.com/cn/websocket/channels/trade/add_order.md) - [订单提交——取消订单](https://docs.qfex.com/cn/websocket/channels/trade/cancel_order.md) - [订单提交——修改订单](https://docs.qfex.com/cn/websocket/channels/trade/modify_order.md) - [取消全部订单](https://docs.qfex.com/cn/websocket/channels/trade/cancel_all_orders.md) - [订单提交——平仓](https://docs.qfex.com/cn/websocket/channels/trade/close_position.md) - [订单提交——TWAP 分笔下单](https://docs.qfex.com/cn/websocket/channels/trade/add_twap.md) - [获取用户订单](https://docs.qfex.com/cn/websocket/channels/trade/get_user_orders.md) - [获取单笔订单](https://docs.qfex.com/cn/websocket/channels/trade/get_order.md) - [获取用户成交](https://docs.qfex.com/cn/websocket/channels/trade/get_user_trades.md) - [订阅余额](https://docs.qfex.com/cn/websocket/channels/trade/balance.md) - [订阅持仓](https://docs.qfex.com/cn/websocket/channels/trade/positions.md) - [获取当前杠杆等级](https://docs.qfex.com/cn/websocket/channels/trade/get_leverage.md) - [获取可用杠杆等级](https://docs.qfex.com/cn/websocket/channels/trade/get_available_leverage.md) - [设置杠杆](https://docs.qfex.com/cn/websocket/channels/trade/set_leverage.md) - [断线撤单](https://docs.qfex.com/cn/websocket/channels/trade/cancel_on_disconnect.md) - [订单提交——新增触发单](https://docs.qfex.com/cn/websocket/channels/trade/stop_add_order.md) - [订单提交——取消触发单](https://docs.qfex.com/cn/websocket/channels/trade/stop_cancel_order.md) - [订单提交——修改触发单](https://docs.qfex.com/cn/websocket/channels/trade/stop_modify_order.md) #### 法律文件 - [使用条款](https://docs.qfex.com/cn/legal/client-agreement.md): 最后更新:2026 年 10 月 20 日 - [隐私政策](https://docs.qfex.com/cn/legal/privacy-policy.md): 最后更新:2026 年 10 月 6 日 - [Cookie 政策](https://docs.qfex.com/cn/legal/cookie-policy.md): 最后更新:2025 年 11 月 28 日 - [漏洞赏金计划](https://docs.qfex.com/cn/legal/bug-bounty.md) ### 2026-10-29 #### QFEX - [关于 QFEX](https://docs.qfex.com/cn/qfex/about.md): 市场本该如此 #### API 参考 ##### 契约指南 - [REST API:2026-10-29](https://docs.qfex.com/cn/api-reference/versions/2026-10-29.md): 使用已发布的 2026-10-29 请求与响应契约 ##### REST API ###### builder - [Generate a wallet user's main-account trading key](https://docs.qfex.com/api-reference/rest/2026-10-29/builder/generate-a-wallet-users-main-account-trading-key.md): Requires the builder's existing API key with register_user. The signed wallet message must authorize the caller's active builder code and be issued within ten minutes. Replaces the wallet user's previous builder-{builder-username} key by deleting the previous key. The key permits trading, account an… - [Get the wallet message for a builder trading key](https://docs.qfex.com/api-reference/rest/2026-10-29/builder/get-the-wallet-message-for-a-builder-trading-key.md): Public endpoint. Pass address and builder_code as query parameters. Returns a SIWE message with the supplied wallet address and the supplied builder code, a random nonce, and a ten-minute validity window. Sign the returned message unchanged and submit it to /builder/web3/api-key. ###### market-data - [Earnings and Economic Calendar](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/earnings-and-economic-calendar.md): Return company earnings and economic events for an inclusive date range of up to 93 days. No authentication is required. Earnings use report dates; economic events use their stored calendar dates. For timezone-aware weekly displays, include one extra date on either side and group exact release times… - [Candles](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/candles.md): Return OHLCV candles for a symbol over a time range. - [DefiLlama Metrics](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/defillama-metrics.md): Return QFEX aggregate volume and USD open interest metrics for DefiLlama. - [Funding Historic](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/funding-historic.md): Return historic funding rates for a symbol over a time range with forward filling. - [Reference Market Holidays](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/reference-market-holidays.md): Return reference-market holiday dates from the calendar used by QFEX Slack alerts. Dates are local calendar dates, not UTC closure timestamps. These are not QFEX trading halts or instrument-specific session schedules; US futures may have shortened sessions on these dates. Weekends and early closes a… - [Contracts](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/contracts.md): Return mandatory contract metadata and current market data for all symbols. - [Order Book](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/order-book.md): Return current order book depth for a ticker. - [Open Interest Historic](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/open-interest-historic.md): Return historic open interest for a symbol over a time range with forward filling. - [Refdata](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/refdata.md): Return symbol reference data, including market_hours for each symbol. No authentication is required. See /market-holidays for reference-market holiday dates and /calendar for earnings and economic events. - [Settlement Calendar](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/settlement-calendar.md): Return the settlement calendar entry for a symbol at a given time, based on active_until. - [Settlement Prices](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/settlement-prices.md): Return current and historic settlement prices and ratios. - [Symbol Long Short Historic](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/symbol-long-short-historic.md): Return historic long and short user counts for a symbol over a time range. - [Taker Volume Historic](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/taker-volume-historic.md): Return historic taker volume metrics for a symbol over a time range. - [Underlier Historic](https://docs.qfex.com/api-reference/rest/2026-10-29/market-data/underlier-historic.md): Return historic underlier OHLC data for a symbol over a time range. ###### user - [Executions](https://docs.qfex.com/api-reference/rest/2026-10-29/user/executions.md): Return executions (funding, deposits, withdrawals, referral rewards, fee rebates) for the authenticated account, globally sorted by created_at. - [Stream Historic Orders CSV](https://docs.qfex.com/api-reference/rest/2026-10-29/user/stream-historic-orders-csv.md): Stream a CSV of all historic orders for the authenticated user. - [Stream Historic TWAPs CSV](https://docs.qfex.com/api-reference/rest/2026-10-29/user/stream-historic-twaps-csv.md): Stream a CSV of all historic TWAPs for the authenticated user. - [Redeem Invitation Code](https://docs.qfex.com/api-reference/rest/2026-10-29/user/redeem-invitation-code.md): Redeem a valid invitation code for the authenticated user, create the referral link, and enable user access. - [Stream Trades CSV](https://docs.qfex.com/api-reference/rest/2026-10-29/user/stream-trades-csv.md): Stream a CSV of all trades for the authenticated user. - [Account Equity](https://docs.qfex.com/api-reference/rest/2026-10-29/user/account-equity.md): Return total account equity over time for preset durations. - [Builder Code Details](https://docs.qfex.com/api-reference/rest/2026-10-29/user/builder-code-details.md): Return the authenticated user's most recently created active builder code and configured QFEX/builder fee shares. - [Create Builder Code](https://docs.qfex.com/api-reference/rest/2026-10-29/user/create-builder-code.md): Create the authenticated user's builder code. The code is generated server-side as a UUID and stored with active=true. Specify both QFEX and builder fee shares in basis points; they need not sum to 10000. QFEX share must be at least 5000 (50%), builder share must be >= 0, and their sum must be at mo… - [User Fees](https://docs.qfex.com/api-reference/rest/2026-10-29/user/user-fees.md): Return the fee schedule for the authenticated user. Fees are user-level and do not change when a subaccount is selected. - [User Flat Funding](https://docs.qfex.com/api-reference/rest/2026-10-29/user/user-flat-funding.md): Return per-symbol net funding from the most recent snapshot where the authenticated account's position was flat. - [Historic Orders](https://docs.qfex.com/api-reference/rest/2026-10-29/user/historic-orders.md): Return historic orders (filled or terminally closed) for the authenticated user. - [Historic User PnL](https://docs.qfex.com/api-reference/rest/2026-10-29/user/historic-user-pnl.md): Return historic user pnl change over preset durations. Supports number and percent units, and optional comma-separated symbol filters. - [Historic TWAPs](https://docs.qfex.com/api-reference/rest/2026-10-29/user/historic-twaps.md): Return historic TWAPs (cancelled or completed) for the authenticated user. - [Reconcile Invitation Codes (Legacy Path)](https://docs.qfex.com/api-reference/rest/2026-10-29/user/reconcile-invitation-codes-legacy-path.md): Immediately reconciles invitation-code rewards for the authenticated user. - [Set User Leverage](https://docs.qfex.com/api-reference/rest/2026-10-29/user/set-user-leverage.md): Set the leverage for the authenticated user. - [User Positions](https://docs.qfex.com/api-reference/rest/2026-10-29/user/user-positions.md): Return current positions for the authenticated user. - [User Referral Rewards](https://docs.qfex.com/api-reference/rest/2026-10-29/user/user-referral-rewards.md): Return daily referral rewards for the authenticated user. - [User Referral Notional Volume](https://docs.qfex.com/api-reference/rest/2026-10-29/user/user-referral-notional-volume.md): Return rolling 14-day and lifetime notional volume for the authenticated user and their direct referrals. - [List Subaccounts](https://docs.qfex.com/api-reference/rest/2026-10-29/user/list-subaccounts.md): Returns secondary account IDs for the authenticated user (accounts except the primary row where account_id equals user_id). - [Create Subaccount](https://docs.qfex.com/api-reference/rest/2026-10-29/user/create-subaccount.md): Allocates a new subaccount UUID for the authenticated user and returns it in the response body. - [List Account Balances](https://docs.qfex.com/api-reference/rest/2026-10-29/user/list-account-balances.md): Returns the authenticated user's primary account and each secondary account together with current account equity and available balance from the latest user position balance snapshot. - [List Account Equities](https://docs.qfex.com/api-reference/rest/2026-10-29/user/list-account-equities.md): Returns the authenticated user's primary account and each secondary account together with current account equity from the latest user position balance snapshot. - [User Trades](https://docs.qfex.com/api-reference/rest/2026-10-29/user/user-trades.md): Return trades for the authenticated user. - [Transfer Balance](https://docs.qfex.com/api-reference/rest/2026-10-29/user/transfer-balance.md): Transfer balance between two of the authenticated user's accounts (parent account or subaccounts). - [User Volume](https://docs.qfex.com/api-reference/rest/2026-10-29/user/user-volume.md): Return daily user notional volume for one of: 1w, 1m, ytd, or all time. Supports optional comma-separated symbol filters. ###### pnl - [Hourly PnL (approx. first position per hour)](https://docs.qfex.com/api-reference/rest/2026-10-29/pnl/hourly-pnl-approx-first-position-per-hour.md): Return approximate first position per symbol per hour for the user, including realised/unrealised pnl, net_funding, fees, quantity, and cost. ###### public - [Public Leaderboard](https://docs.qfex.com/api-reference/rest/2026-10-29/public/public-leaderboard.md): Return the global top 100 participating master accounts by trading PnL or cash-flow-adjusted time-weighted return. Username filtering only reduces that selected top 100. Return can be null when no positive-equity subperiod exists; positive dollar PnL and negative TWR can coexist. #### 法律文件 - [使用条款](https://docs.qfex.com/cn/legal/client-agreement.md): 最后更新:2026 年 10 月 20 日 ## OpenAPI Specs - [openapi](https://api.qfex.com/openapi.yaml) - [funding-openapi](/cn/api-reference/funding-openapi.yaml) - [openapi](https://api.qfex.com/contracts/2026-10-29/openapi.yaml) ## AsyncAPI Specs - [trade](/websocket/trade.yaml) - [mds](/websocket/mds.yaml)